diff --git a/lib/base/objectlock.hpp b/lib/base/objectlock.hpp index 277f99041..8e98641db 100644 --- a/lib/base/objectlock.hpp +++ b/lib/base/objectlock.hpp @@ -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();