summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/unittests/clangd/DexTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/DexTests.cpp b/clang-tools-extra/unittests/clangd/DexTests.cpp
index d7223ab1904..02eb9a283ba 100644
--- a/clang-tools-extra/unittests/clangd/DexTests.cpp
+++ b/clang-tools-extra/unittests/clangd/DexTests.cpp
@@ -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());
OpenPOWER on IntegriCloud