summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_serialization_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_serialization_test.cpp')
-rw-r--r--src/mongo/db/matcher/expression_serialization_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/expression_serialization_test.cpp b/src/mongo/db/matcher/expression_serialization_test.cpp
index 7384c53e410..862b955423c 100644
--- a/src/mongo/db/matcher/expression_serialization_test.cpp
+++ b/src/mongo/db/matcher/expression_serialization_test.cpp
@@ -1695,7 +1695,7 @@ TEST(SerializeInternalBinDataSubType, ExpressionBinDataSubTypeSerializesCorrectl
fromjson("{x: {$_internalSchemaBinDataSubType: 1}}"));
ASSERT_BSONOBJ_EQ(*reserialized.getQuery(), serialize(reserialized.getMatchExpression()));
- BSONObj obj = BSON("x" << BSONBinData(NULL, 0, BinDataType::bdtCustom));
+ BSONObj obj = BSON("x" << BSONBinData(nullptr, 0, BinDataType::bdtCustom));
ASSERT_EQ(original.matches(obj), reserialized.matches(obj));
uint8_t bytes[] = {0, 1, 2, 10, 11, 12};