mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
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…
x
Reference in New Issue
Block a user