summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/duplicate_key_tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/duplicate_key_tracker.h')
-rw-r--r--src/mongo/db/index/duplicate_key_tracker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index/duplicate_key_tracker.h b/src/mongo/db/index/duplicate_key_tracker.h
index 3879cdb3486..c5399620984 100644
--- a/src/mongo/db/index/duplicate_key_tracker.h
+++ b/src/mongo/db/index/duplicate_key_tracker.h
@@ -32,7 +32,6 @@
#include <cstdint>
#include <vector>
-#include "mongo/base/disallow_copying.h"
#include "mongo/bson/bsonobj.h"
#include "mongo/db/catalog/index_catalog_entry.h"
#include "mongo/db/operation_context.h"
@@ -47,7 +46,8 @@ class IndexCatalogEntry;
* by a temporary table that is created and destroyed by this tracker.
*/
class DuplicateKeyTracker {
- MONGO_DISALLOW_COPYING(DuplicateKeyTracker);
+ DuplicateKeyTracker(const DuplicateKeyTracker&) = delete;
+ DuplicateKeyTracker& operator=(const DuplicateKeyTracker&) = delete;
public:
/**