forked from OSchip/llvm-project
[clangd] Fix comparator const after c9c714c705
This commit is contained in:
parent
9f37c0e703
commit
1374f7bd9f
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue