diff options
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r-- | src/mongo/db/pipeline/document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h index 4f63a9fd47e..54629bc0a55 100644 --- a/src/mongo/db/pipeline/document.h +++ b/src/mongo/db/pipeline/document.h @@ -623,7 +623,7 @@ public: * complete list is in Document::allMetadataFieldNames). */ DocumentStorage& newStorageWithBson(const BSONObj& bson, bool stripMetadata) { - reset(make_intrusive<DocumentStorage>(bson, stripMetadata)); + reset(make_intrusive<DocumentStorage>(bson, stripMetadata, false)); return const_cast<DocumentStorage&>(*storagePtr()); } |