summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/parsed_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/parsed_update.h')
-rw-r--r--src/mongo/db/ops/parsed_update.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/parsed_update.h b/src/mongo/db/ops/parsed_update.h
index 77220b5211f..da983db9f1f 100644
--- a/src/mongo/db/ops/parsed_update.h
+++ b/src/mongo/db/ops/parsed_update.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/status.h"
#include "mongo/db/matcher/expression_with_placeholder.h"
#include "mongo/db/query/collation/collator_interface.h"
@@ -57,7 +56,8 @@ class UpdateRequest;
* using the UpdateDriver.
*/
class ParsedUpdate {
- MONGO_DISALLOW_COPYING(ParsedUpdate);
+ ParsedUpdate(const ParsedUpdate&) = delete;
+ ParsedUpdate& operator=(const ParsedUpdate&) = delete;
public:
/**