Fixing slang compilation temporarily, renaming vertexfactory

This commit is contained in:
Dynamitos
2020-08-06 00:54:43 +02:00
parent ab4a3b5e23
commit f27859a02c
66 changed files with 1005 additions and 627 deletions
+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