diff options
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.h')
-rw-r--r-- | src/mongo/db/index_builds_coordinator.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/index_builds_coordinator.h b/src/mongo/db/index_builds_coordinator.h index d49178017da..03dc441d3d7 100644 --- a/src/mongo/db/index_builds_coordinator.h +++ b/src/mongo/db/index_builds_coordinator.h @@ -458,7 +458,8 @@ protected: * builds should be scheduled. */ class ScopedStopNewDatabaseIndexBuilds { - MONGO_DISALLOW_COPYING(ScopedStopNewDatabaseIndexBuilds); + ScopedStopNewDatabaseIndexBuilds(const ScopedStopNewDatabaseIndexBuilds&) = delete; + ScopedStopNewDatabaseIndexBuilds& operator=(const ScopedStopNewDatabaseIndexBuilds&) = delete; public: /** @@ -488,7 +489,9 @@ private: * builds should be scheduled. */ class ScopedStopNewCollectionIndexBuilds { - MONGO_DISALLOW_COPYING(ScopedStopNewCollectionIndexBuilds); + ScopedStopNewCollectionIndexBuilds(const ScopedStopNewCollectionIndexBuilds&) = delete; + ScopedStopNewCollectionIndexBuilds& operator=(const ScopedStopNewCollectionIndexBuilds&) = + delete; public: /** |