summaryrefslogtreecommitdiff
path: root/src/mongo/db/background.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/background.h')
-rw-r--r--src/mongo/db/background.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/background.h b/src/mongo/db/background.h
index 6aa4a680e03..49bde198a44 100644
--- a/src/mongo/db/background.h
+++ b/src/mongo/db/background.h
@@ -39,7 +39,6 @@
#include <set>
#include <vector>
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
#include "mongo/db/namespace_string.h"
@@ -55,7 +54,8 @@ namespace mongo {
anything special in the implementation here to be fast.
*/
class BackgroundOperation {
- MONGO_DISALLOW_COPYING(BackgroundOperation);
+ BackgroundOperation(const BackgroundOperation&) = delete;
+ BackgroundOperation& operator=(const BackgroundOperation&) = delete;
public:
static bool inProgForDb(StringData db);