Skip to content

Commit a2f146f

Browse files
committed
[clangd] Remove UB introduced in rL341057
llvm-svn: 341066
1 parent 43c292c commit a2f146f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang-tools-extra/clangd/index/dex/Iterator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ class OrIterator : public Iterator {
193193
OrIterator(std::vector<std::unique_ptr<Iterator>> AllChildren)
194194
: Children(std::move(AllChildren)) {
195195
assert(Children.size() > 0 && "Or Iterator must have at least one child.");
196-
std::sort(begin(Children), end(Children));
197196
}
198197

199198
/// Returns true if all children are exhausted.

0 commit comments

Comments
 (0)