diff options
author | Amr Elhelw <amr.elhelw@mongodb.com> | 2023-03-13 21:37:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-14 02:26:43 +0000 |
commit | b97c66ded102f70b88bbcb2d75d7309dd73c0910 (patch) | |
tree | 0c1c499586c3a736f252c15eca6f9ac9cf8ae8f7 /src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp | |
parent | 2d24e77b9576d0b2f4320810f22c2b81abaaf57f (diff) | |
download | mongo-b97c66ded102f70b88bbcb2d75d7309dd73c0910.tar.gz |
SERVER-54578 Rename MatchExpression::shallowClone() to MatchExpression::clone()
Diffstat (limited to 'src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp')
-rw-r--r-- | src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp b/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp index 5b75f0c4e8c..cda74422ecc 100644 --- a/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp +++ b/src/mongo/db/matcher/schema/expression_internal_schema_xor_test.cpp @@ -104,11 +104,11 @@ TEST(InternalSchemaXorOp, Equivalent) { EqualityMatchExpression sub2("b"_sd, baseOperand2["b"]); InternalSchemaXorMatchExpression e1; - e1.add(sub1.shallowClone()); - e1.add(sub2.shallowClone()); + e1.add(sub1.clone()); + e1.add(sub2.clone()); InternalSchemaXorMatchExpression e2; - e2.add(sub1.shallowClone()); + e2.add(sub1.clone()); ASSERT(e1.equivalent(&e1)); ASSERT_FALSE(e1.equivalent(&e2)); |