summaryrefslogtreecommitdiff
path: root/assetFactory
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory')
-rw-r--r--assetFactory/assetFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/assetFactory.cpp b/assetFactory/assetFactory.cpp
index 0ee1f94..470eacf 100644
--- a/assetFactory/assetFactory.cpp
+++ b/assetFactory/assetFactory.cpp
@@ -26,6 +26,6 @@ AssetFactory::loadXML(const std::filesystem::path & filename)
bool
AssetFactory::persist(Persistence::PersistenceStore & store)
{
- using MapObjects = Persistence::MapByMember<Shapes, Object>;
+ using MapObjects = Persistence::MapByMember<Shapes, std::shared_ptr<Object>>;
return STORE_TYPE && STORE_NAME_HELPER("object", shapes, MapObjects);
}