Fixed compilation of boxed_object.hpp in non-debug builds.
This commit is contained in:
parent
3d507ddef7
commit
680acdb332
@ -68,12 +68,12 @@ public:
|
|||||||
BoxedObject(const BoxedObject&) = delete;
|
BoxedObject(const BoxedObject&) = delete;
|
||||||
BoxedObject(BoxedObject&&) = delete;
|
BoxedObject(BoxedObject&&) = delete;
|
||||||
|
|
||||||
#if MIJIN_BOXED_OBJECT_DEBUG
|
|
||||||
constexpr ~BoxedObject() noexcept
|
constexpr ~BoxedObject() noexcept
|
||||||
{
|
{
|
||||||
|
#if MIJIN_BOXED_OBJECT_DEBUG
|
||||||
MIJIN_ASSERT(!constructed, "BoxedObject::~BoxedObject(): Object has not been destroyed prior to destructor!");
|
MIJIN_ASSERT(!constructed, "BoxedObject::~BoxedObject(): Object has not been destroyed prior to destructor!");
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
BoxedObject& operator=(const BoxedObject&) = delete;
|
BoxedObject& operator=(const BoxedObject&) = delete;
|
||||||
BoxedObject& operator=(BoxedObject&&) = delete;
|
BoxedObject& operator=(BoxedObject&&) = delete;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user