From 69b8f7f1f4d66896245d1e10df00144e3b78e602 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 13 May 2016 16:23:08 -0400 Subject: [PATCH] BLocker: Make copy constructor & assignment operator private. On suggestion of Axel. --- headers/os/support/Locker.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/os/support/Locker.h b/headers/os/support/Locker.h index 7c115bd05d..99f6ff4035 100644 --- a/headers/os/support/Locker.h +++ b/headers/os/support/Locker.h @@ -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);