summaryrefslogtreecommitdiff
path: root/assetFactory/assetFactory.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-02-28 01:24:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-02-28 01:24:18 +0000
commit7a70e75656d31428c9bbbd51fbf1ca920e577ed1 (patch)
treefcaed03c9b094e8b37d8d787f6695e8306031a3c /assetFactory/assetFactory.h
parentSupport for named colours in assets (diff)
downloadilt-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.h4
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;
};