summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/remove_saver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/remove_saver.h')
-rw-r--r--src/mongo/db/storage/remove_saver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/remove_saver.h b/src/mongo/db/storage/remove_saver.h
index d64604ad7a8..0704ddb4d49 100644
--- a/src/mongo/db/storage/remove_saver.h
+++ b/src/mongo/db/storage/remove_saver.h
@@ -34,7 +34,6 @@
#include <ostream>
#include <string>
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/status.h"
#include "mongo/db/jsobj.h"
#include "mongo/db/storage/data_protector.h"
@@ -48,7 +47,8 @@ namespace mongo {
* deletion, otherwise the document will be lost if the process gets terminated in between.
*/
class RemoveSaver {
- MONGO_DISALLOW_COPYING(RemoveSaver);
+ RemoveSaver(const RemoveSaver&) = delete;
+ RemoveSaver& operator=(const RemoveSaver&) = delete;
public:
RemoveSaver(const std::string& type, const std::string& ns, const std::string& why);