diff options
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.h')
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.h b/src/mongo/db/catalog/multi_index_block.h index 2e32dff5026..99a97df59b9 100644 --- a/src/mongo/db/catalog/multi_index_block.h +++ b/src/mongo/db/catalog/multi_index_block.h @@ -35,7 +35,6 @@ #include <string> #include <vector> -#include "mongo/base/disallow_copying.h" #include "mongo/base/status.h" #include "mongo/base/status_with.h" #include "mongo/base/string_data.h" @@ -70,7 +69,8 @@ class OperationContext; * (as it is itself essentially a form of rollback, you don't want to "rollback the rollback"). */ class MultiIndexBlock { - MONGO_DISALLOW_COPYING(MultiIndexBlock); + MultiIndexBlock(const MultiIndexBlock&) = delete; + MultiIndexBlock& operator=(const MultiIndexBlock&) = delete; public: MultiIndexBlock() = default; |