summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_test.cpp
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-06-22 10:55:52 -0400
committerWaley Chen <waleycz@gmail.com>2016-06-22 11:03:20 -0400
commit2f708de73326bfa6aef14169888c23ccdd3345d1 (patch)
tree9e29ecd42a9e28d9b12b751dc2611714ed196c2f /src/mongo/db/pipeline/document_source_test.cpp
parenta009f41df2c3609b3c8dfd19ddc97ddbeef86984 (diff)
downloadmongo-2f708de73326bfa6aef14169888c23ccdd3345d1.tar.gz
SERVER-23974 Add clang 3.4 with libc++ canary builder
Diffstat (limited to 'src/mongo/db/pipeline/document_source_test.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_test.cpp b/src/mongo/db/pipeline/document_source_test.cpp
index 2518d70f41d..9a9331d013e 100644
--- a/src/mongo/db/pipeline/document_source_test.cpp
+++ b/src/mongo/db/pipeline/document_source_test.cpp
@@ -3351,7 +3351,7 @@ TEST(ObjectForMatch, MissingFieldShouldNotAppearInResult) {
TEST(ObjectForMatch, ShouldSerializeNothingIfNothingIsNeeded) {
Document input(fromjson("{a: 1, b: {c: 1}}"));
BSONObj expected;
- ASSERT_EQUALS(expected, DocumentSourceMatch::getObjectForMatch(input, {}));
+ ASSERT_EQUALS(expected, DocumentSourceMatch::getObjectForMatch(input, std::set<std::string>{}));
}
TEST(ObjectForMatch, ShouldExtractEntireArrayFromPrefixOfDottedField) {