Skip to content

Commit 6d53897

Browse files
committed
[clangd] Fix MSVC builds
1 parent dffa9df commit 6d53897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/index/FileIndex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ FileShardedIndex::FileShardedIndex(IndexFileIn Input, PathRef HintPath)
190190
}
191191
}
192192
std::vector<PathRef> FileShardedIndex::getAllFiles() const {
193-
return {Shards.keys().begin(), Shards.keys().end()};
193+
return std::vector<PathRef>(Shards.keys().begin(), Shards.keys().end());
194194
}
195195

196196
IndexFileIn FileShardedIndex::getShard(PathRef File) const {

0 commit comments

Comments
 (0)