- Remove the constructors from TObjPtr class.

They're not used in Raze and were preventing build issues under POSIX environment as you can't use constructor objects in anonymous aggregate types (unnamed structs, etc).
This commit is contained in:
Mitchell Richters 2021-12-08 09:11:28 +11:00 committed by Christoph Oelckers
parent b8c4354691
commit 38842994e0

View file

@ -184,14 +184,6 @@ class TObjPtr
DObject *o;
};
public:
TObjPtr() = default;
TObjPtr(const TObjPtr<T> &q) = default;
TObjPtr(T q) noexcept
: pp(q)
{
}
T operator=(T q)
{
pp = q;