mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
5e3df67ab3
commit
f9f998334d
@ -14,10 +14,8 @@ ObjectLock::~ObjectLock()
|
||||
}
|
||||
|
||||
ObjectLock::ObjectLock(const Object::Ptr& object)
|
||||
: m_Object(object.get()), m_Locked(false)
|
||||
: ObjectLock(object.get())
|
||||
{
|
||||
if (m_Object)
|
||||
Lock();
|
||||
}
|
||||
|
||||
ObjectLock::ObjectLock(const Object *object)
|
||||
|
Loading…
x
Reference in New Issue
Block a user