Skip to content

Commit

Permalink
removed TObjPtr's constructors that were reinstated for unknown reasons.
Browse files Browse the repository at this point in the history
This class needs to be constructor-less so that even GCC accepts it as trivial.
  • Loading branch information
coelckers committed Apr 18, 2024
1 parent b20f09a commit 3d57170
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/common/objects/dobjgc.h
Expand Up @@ -214,9 +214,6 @@ class TObjPtr
mutable DObject *o;
};
public:
TObjPtr() = default;

TObjPtr(T t) : pp(t) {}

constexpr TObjPtr<T>& operator=(T q) noexcept
{
Expand Down

0 comments on commit 3d57170

Please sign in to comment.