From 56894bea17df0f7ede19dd1df2b093033ea4190c Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 24 Apr 2019 12:10:57 +0200 Subject: [PATCH] Buildfix Obviously tired. fixes #7138 fixes #7139 --- lib/base/object.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/base/object.cpp b/lib/base/object.cpp index 58e2a9160..72f99adaf 100644 --- a/lib/base/object.cpp +++ b/lib/base/object.cpp @@ -28,7 +28,10 @@ static Timer::Ptr l_ObjectCountTimer; Object::Object() { m_References.store(0); + +#ifdef I2_DEBUG m_LockOwner.store(decltype(m_LockOwner.load())()); +#endif /* I2_DEBUG */ } /**