summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/temp_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/unittest/temp_dir.h')
-rw-r--r--src/mongo/unittest/temp_dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/unittest/temp_dir.h b/src/mongo/unittest/temp_dir.h
index f12673159c7..17fbc82e1e5 100644
--- a/src/mongo/unittest/temp_dir.h
+++ b/src/mongo/unittest/temp_dir.h
@@ -31,7 +31,6 @@
#include <string>
-#include "mongo/base/disallow_copying.h"
namespace mongo {
namespace unittest {
@@ -40,7 +39,8 @@ namespace unittest {
* An RAII temporary directory that deletes itself and all contents files on scope exit.
*/
class TempDir {
- MONGO_DISALLOW_COPYING(TempDir);
+ TempDir(const TempDir&) = delete;
+ TempDir& operator=(const TempDir&) = delete;
public:
/**