Commit 8a4090fe authored by Roman Donchenko's avatar Roman Donchenko

Make AutoLock noncopyable (it would break on copying, anyway).

parent 37091b08
......@@ -4813,6 +4813,9 @@ public:
~AutoLock() { mutex->unlock(); }
protected:
Mutex* mutex;
private:
AutoLock(const AutoLock&);
AutoLock& operator = (const AutoLock&);
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment