summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r--src/mongo/db/pipeline/document.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h
index 7efd5994ff7..0c64c108329 100644
--- a/src/mongo/db/pipeline/document.h
+++ b/src/mongo/db/pipeline/document.h
@@ -412,7 +412,8 @@ private:
* Documents.
*/
class MutableDocument {
- MONGO_DISALLOW_COPYING(MutableDocument);
+ MutableDocument(const MutableDocument&) = delete;
+ MutableDocument& operator=(const MutableDocument&) = delete;
public:
/** Create a new empty Document.