summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_always_boolean.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_always_boolean.h')
-rw-r--r--src/mongo/db/matcher/expression_always_boolean.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/expression_always_boolean.h b/src/mongo/db/matcher/expression_always_boolean.h
index 6a97367aff5..468e34ccab8 100644
--- a/src/mongo/db/matcher/expression_always_boolean.h
+++ b/src/mongo/db/matcher/expression_always_boolean.h
@@ -62,7 +62,8 @@ public:
debug << name() << ": 1\n";
}
- void serialize(BSONObjBuilder* out, bool includePath) const final {
+ void serialize(BSONObjBuilder* out, SerializationOptions opts) const final {
+ // TODO support 'opts.redactFieldNames.'
out->append(name(), 1);
}