diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-28 01:24:18 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-28 01:24:18 +0000 |
commit | 7a70e75656d31428c9bbbd51fbf1ca920e577ed1 (patch) | |
tree | fcaed03c9b094e8b37d8d787f6695e8306031a3c /assetFactory/assetFactory.h | |
parent | Support for named colours in assets (diff) | |
download | ilt-7a70e75656d31428c9bbbd51fbf1ca920e577ed1.tar.bz2 ilt-7a70e75656d31428c9bbbd51fbf1ca920e577ed1.tar.xz ilt-7a70e75656d31428c9bbbd51fbf1ca920e577ed1.zip |
Remove to specify if the Selection pointer type is shared or not
Inferred based on whether the pointer is copyable or not.
Diffstat (limited to 'assetFactory/assetFactory.h')
-rw-r--r-- | assetFactory/assetFactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assetFactory/assetFactory.h b/assetFactory/assetFactory.h index a68b460..42082eb 100644 --- a/assetFactory/assetFactory.h +++ b/assetFactory/assetFactory.h @@ -14,7 +14,7 @@ public: FactoryMesh::Collection meshes; private: - friend Persistence::SelectionPtrBase<std::shared_ptr<Asset>, true>; + friend Persistence::SelectionPtrBase<std::shared_ptr<Asset>>; bool persist(Persistence::PersistenceStore & store) override; }; @@ -36,6 +36,6 @@ public: static void normalizeColourName(std::string &); private: - friend Persistence::SelectionPtrBase<std::shared_ptr<AssetFactory>, true>; + friend Persistence::SelectionPtrBase<std::shared_ptr<AssetFactory>>; bool persist(Persistence::PersistenceStore & store) override; }; |