summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_expr.h')
-rw-r--r--src/mongo/db/matcher/expression_expr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_expr.h b/src/mongo/db/matcher/expression_expr.h
index 281fdd3afd6..b3f670e4597 100644
--- a/src/mongo/db/matcher/expression_expr.h
+++ b/src/mongo/db/matcher/expression_expr.h
@@ -72,10 +72,12 @@ public:
void debugString(StringBuilder& debug, int indentationLevel = 0) const final {
_debugAddSpace(debug, indentationLevel);
- debug << "$expr " << _expression->serialize(false).toString();
+ debug << "$expr " << _expression->serialize().toString();
}
- void serialize(BSONObjBuilder* out, bool includePath) const final;
+ void serialize(BSONObjBuilder* out,
+ const SerializationOptions& opts = {},
+ bool includePath = true) const final;
bool equivalent(const MatchExpression* other) const final;