forked from OSchip/llvm-project
[clangd] Fix ambiguous constructor in DexTest
llvm-svn: 343793
This commit is contained in:
parent
ee2fcdf5b7
commit
a4c17dd7f3
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue