summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_internal.h')
-rw-r--r--src/mongo/db/pipeline/document_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_internal.h b/src/mongo/db/pipeline/document_internal.h
index 5069927b80e..b5030b77693 100644
--- a/src/mongo/db/pipeline/document_internal.h
+++ b/src/mongo/db/pipeline/document_internal.h
@@ -76,7 +76,8 @@ private:
* Internal class. Consumers shouldn't care about this.
*/
class ValueElement {
- MONGO_DISALLOW_COPYING(ValueElement);
+ ValueElement(const ValueElement&) = delete;
+ ValueElement& operator=(const ValueElement&) = delete;
public:
Value val;