[clangd] Fix ambiguous constructor in DexTest
authorSam McCall <sam.mccall@gmail.com>
Thu, 4 Oct 2018 16:05:22 +0000 (16:05 +0000)
committerSam McCall <sam.mccall@gmail.com>
Thu, 4 Oct 2018 16:05:22 +0000 (16:05 +0000)
llvm-svn: 343793

clang-tools-extra/unittests/clangd/DexTests.cpp

index d7223ab..02eb9a2 100644 (file)
@@ -111,8 +111,8 @@ TEST(DexIterators, AndThreeLists) {
 
 TEST(DexIterators, AndEmpty) {
   Corpus C{10000};
-  const PostingList L1({1});
-  const PostingList L2({2});
+  const PostingList L1{1};
+  const PostingList L2{2};
   // These iterators are empty, but the optimizer can't tell.
   auto Empty1 = C.intersect(L1.iterator(), L2.iterator());
   auto Empty2 = C.intersect(L1.iterator(), L2.iterator());