Fixing slang compilation temporarily, renaming vertexfactory

This commit is contained in:
Dynamitos committed 2020-08-06 00:54:43 +02:00
1 parent ab4a3b5e23
commit f27859a02c
66 files changed
+1005 -627

No files matched your search

+12
View File
@@ -259,6 +259,12 @@ public:
private:
RefObject<T> *object;
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive& ar, const unsigned int version)
{
ar & *object->getHandle();
}
};
//A weak pointer has no ownership over an object and thus cant delete it
template <typename T>
@@ -331,6 +337,12 @@ public:
private:
T *handle;
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive& ar, const unsigned int version)
{
ar & *handle;
}
};
} // namespace Seele