diff options
Diffstat (limited to 'src/mongo/db/pipeline/expression_test_api_version.cpp')
| -rw-r--r-- | src/mongo/db/pipeline/expression_test_api_version.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression_test_api_version.cpp b/src/mongo/db/pipeline/expression_test_api_version.cpp index 893ddf301be..08938f1afa8 100644 --- a/src/mongo/db/pipeline/expression_test_api_version.cpp +++ b/src/mongo/db/pipeline/expression_test_api_version.cpp @@ -89,7 +89,7 @@ boost::intrusive_ptr<Expression> ExpressionTestApiVersion::parse(ExpressionConte return new ExpressionTestApiVersion(expCtx, unstableField, deprecatedField); } -Value ExpressionTestApiVersion::serialize(bool explain) const { +Value ExpressionTestApiVersion::serialize(const SerializationOptions& options) const { return Value(Document{{"$_testApiVersion", Document{{"unstable", _unstable ? Value(_unstable) : Value()}, {"deprecated", _deprecated ? Value(_deprecated) : Value()}}}}); |
