mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue