summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/add_fields_projection_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/add_fields_projection_executor.h')
-rw-r--r--src/mongo/db/exec/add_fields_projection_executor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/exec/add_fields_projection_executor.h b/src/mongo/db/exec/add_fields_projection_executor.h
index b1349d715d6..c2c8e8481e3 100644
--- a/src/mongo/db/exec/add_fields_projection_executor.h
+++ b/src/mongo/db/exec/add_fields_projection_executor.h
@@ -94,9 +94,9 @@ public:
*/
void parse(const BSONObj& spec);
- Document serializeTransformation(boost::optional<ExplainOptions::Verbosity> explain,
- const SerializationOptions& options = {}) const final {
- return _root->serialize(explain, options);
+ Document serializeTransformation(
+ boost::optional<ExplainOptions::Verbosity> explain) const final {
+ return _root->serialize(explain);
}
/**
@@ -112,7 +112,7 @@ public:
}
DocumentSource::GetModPathsReturn getModifiedPaths() const final {
- OrderedPathSet computedPaths;
+ std::set<std::string> computedPaths;
StringMap<std::string> renamedPaths;
_root->reportComputedPaths(&computedPaths, &renamedPaths);
return {DocumentSource::GetModPathsReturn::Type::kFiniteSet,