Skip to content

Commit 3ea2689

Browse files
committed
Fix linux build
1 parent d828397 commit 3ea2689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/HeaderSourceSwitch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ std::optional<Path> getCorrespondingHeaderOrSource(PathRef OriginalFile,
9797
};
9898
#else
9999
auto pathEqual = [](const llvm::StringRef &l, const llvm::StringRef &r) {
100-
return l.equals(r);
100+
return l == r;
101101
};
102102
#endif
103103
Index->lookup(Request, [&](const Symbol &Sym) {

0 commit comments

Comments
 (0)