BLocker: Make copy constructor & assignment operator private.

On suggestion of Axel.
This commit is contained in:
Augustin Cavalier
2016-05-13 16:23:08 -04:00
parent 9b5957aae8
commit 69b8f7f1f4
+2
View File
@@ -32,6 +32,8 @@ public:
private:
BLocker(const char* name, bool benaphoreStyle,
bool _ignored);
BLocker(const BLocker&);
BLocker& operator=(const BLocker&);
void InitLocker(const char* name,
bool benaphoreStyle);
bool AcquireLock(bigtime_t timeout, status_t* error);