Engine is now installable
This commit is contained in:
@@ -263,12 +263,6 @@ public:
|
||||
|
||||
private:
|
||||
RefObject<T, Deleter> *object;
|
||||
friend class boost::serialization::access;
|
||||
template<class Archive>
|
||||
void serialize(Archive& ar, const unsigned int)
|
||||
{
|
||||
ar & *object->getHandle();
|
||||
}
|
||||
};
|
||||
template <typename T>
|
||||
class UniquePtr
|
||||
@@ -326,12 +320,6 @@ public:
|
||||
|
||||
private:
|
||||
T *handle;
|
||||
friend class boost::serialization::access;
|
||||
template<class Archive>
|
||||
void serialize(Archive& ar, const unsigned int version)
|
||||
{
|
||||
ar & *handle;
|
||||
}
|
||||
};
|
||||
//A weak pointer has no ownership over an object and thus cant delete it
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user