From 38842994e063985e3b704c47583ead771879eb72 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 8 Dec 2021 09:11:28 +1100 Subject: [PATCH] - 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). --- source/common/objects/dobjgc.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/common/objects/dobjgc.h b/source/common/objects/dobjgc.h index cd5fa8d08..edd34e4ca 100644 --- a/source/common/objects/dobjgc.h +++ b/source/common/objects/dobjgc.h @@ -184,14 +184,6 @@ class TObjPtr DObject *o; }; public: - TObjPtr() = default; - - TObjPtr(const TObjPtr &q) = default; - - TObjPtr(T q) noexcept - : pp(q) - { - } T operator=(T q) { pp = q;