Commit a5c016ef authored by Matthias Greuter's avatar Matthias Greuter
Browse files

Adapt EntityRepo-Mock to be able to work with unique-ptr in function signature

parent 49a083d9
......@@ -249,12 +249,12 @@ class MockEntityRepository : public mantle_api::IEntityRepository
mantle_api::IStaticObject& Create(const std::string& name,
std::unique_ptr<mantle_api::StaticObjectProperties> properties) override
return CreateStaticObjectProxy(name, properties.get());
return CreateStaticObjectProxy(name, *properties);
(const std::string& name, mantle_api::StaticObjectProperties* properties), ());
(const std::string& name, const mantle_api::StaticObjectProperties& properties), ());
mantle_api::IEntity& Get(const std::string& name) override
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment