mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 06:34:42 +02:00
parent
5e3df67ab3
commit
f9f998334d
@ -14,10 +14,8 @@ ObjectLock::~ObjectLock()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ObjectLock::ObjectLock(const Object::Ptr& object)
|
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)
|
ObjectLock::ObjectLock(const Object *object)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user