summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_mock.h')
-rw-r--r--src/mongo/db/pipeline/document_source_mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_mock.h b/src/mongo/db/pipeline/document_source_mock.h
index 39b3e17a265..67f3aad8649 100644
--- a/src/mongo/db/pipeline/document_source_mock.h
+++ b/src/mongo/db/pipeline/document_source_mock.h
@@ -76,7 +76,7 @@ public:
DocumentSourceMock(std::deque<GetNextResult>, const boost::intrusive_ptr<ExpressionContext>&);
Value serialize(
- boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override {
+ const SerializationOptions& opts = SerializationOptions{}) const final override {
// Unlike the queue, it's okay to serialize this stage for testing purposes.
return Value(Document{{getSourceName(), Document()}});
}