mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +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 *object);
|
||||
|
||||
ObjectLock(const ObjectLock&) = delete;
|
||||
ObjectLock& operator=(const ObjectLock&) = delete;
|
||||
|
||||
~ObjectLock();
|
||||
|
||||
void Lock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user