[clangd] Fix comparator const after c9c714c705

This commit is contained in:
Sam McCall 2019-12-03 22:13:45 +01:00
parent 9f37c0e703
commit 1374f7bd9f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public:
private:
using TokenRange = llvm::ArrayRef<T>;
struct RangeLess {
bool operator()(llvm::ArrayRef<T> L, llvm::ArrayRef<T> R) {
bool operator()(llvm::ArrayRef<T> L, llvm::ArrayRef<T> R) const {
return L.begin() < R.begin();
}
};