summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_lookup.h')
-rw-r--r--src/mongo/db/pipeline/document_source_lookup.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup.h b/src/mongo/db/pipeline/document_source_lookup.h
index 504b4b1d83f..fef7cd0067f 100644
--- a/src/mongo/db/pipeline/document_source_lookup.h
+++ b/src/mongo/db/pipeline/document_source_lookup.h
@@ -127,7 +127,7 @@ public:
const char* getSourceName() const final;
void serializeToArray(
std::vector<Value>& array,
- const SerializationOptions& opts = SerializationOptions{}) const final override;
+ boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final;
/**
* Returns the 'as' path, and possibly fields modified by an absorbed $unwind.
@@ -150,8 +150,6 @@ public:
void reattachToOperationContext(OperationContext* opCtx) final;
- bool validateOperationContext(const OperationContext* opCtx) const final;
-
bool usedDisk() final;
const SpecificStats* getSpecificStats() const final {
@@ -305,9 +303,8 @@ private:
/**
* Should not be called; use serializeToArray instead.
*/
- Value serialize(
- const SerializationOptions& opts = SerializationOptions{}) const final override {
- MONGO_UNREACHABLE_TASSERT(7484304);
+ Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final {
+ MONGO_UNREACHABLE;
}
GetNextResult unwindResult();