summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/lock_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/concurrency/lock_state.h')
-rw-r--r--src/mongo/db/concurrency/lock_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_state.h b/src/mongo/db/concurrency/lock_state.h
index b9ecdc3cbfd..f7659dc9b4b 100644
--- a/src/mongo/db/concurrency/lock_state.h
+++ b/src/mongo/db/concurrency/lock_state.h
@@ -44,7 +44,8 @@ namespace mongo {
* variable, which can be waited on.
*/
class CondVarLockGrantNotification : public LockGrantNotification {
- MONGO_DISALLOW_COPYING(CondVarLockGrantNotification);
+ CondVarLockGrantNotification(const CondVarLockGrantNotification&) = delete;
+ CondVarLockGrantNotification& operator=(const CondVarLockGrantNotification&) = delete;
public:
CondVarLockGrantNotification();