mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9605 from Icinga/no-objectlock-copy
Prevent ObjectLock from being copied
This commit is contained in:
commit
4b754637f7
|
@ -17,6 +17,9 @@ public:
|
||||||
ObjectLock(const Object::Ptr& object);
|
ObjectLock(const Object::Ptr& object);
|
||||||
ObjectLock(const Object *object);
|
ObjectLock(const Object *object);
|
||||||
|
|
||||||
|
ObjectLock(const ObjectLock&) = delete;
|
||||||
|
ObjectLock& operator=(const ObjectLock&) = delete;
|
||||||
|
|
||||||
~ObjectLock();
|
~ObjectLock();
|
||||||
|
|
||||||
void Lock();
|
void Lock();
|
||||||
|
|
Loading…
Reference in New Issue