From 320e5cc574f0c8f83def034e36f6d0c57b1f75ac Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 22 Feb 2023 20:54:39 +0000 Subject: Fixup MapByMember to work with shared or unique ptr --- assetFactory/assetFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assetFactory') 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; + using MapObjects = Persistence::MapByMember>; return STORE_TYPE && STORE_NAME_HELPER("object", shapes, MapObjects); } -- cgit v1.2.3