[clangd] Fix ambiguous constructor in DexTest

llvm-svn: 343793
This commit is contained in:
Sam McCall 2018-10-04 16:05:22 +00:00
parent ee2fcdf5b7
commit a4c17dd7f3
1 changed files with 2 additions and 2 deletions

View 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());