summaryrefslogtreecommitdiffstats
path: root/clangd/index/MemIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/index/MemIndex.cpp')
-rw-r--r--clangd/index/MemIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clangd/index/MemIndex.cpp b/clangd/index/MemIndex.cpp
index cc4c0ed8..11beae4a 100644
--- a/clangd/index/MemIndex.cpp
+++ b/clangd/index/MemIndex.cpp
@@ -26,7 +26,7 @@ void MemIndex::build(std::shared_ptr<std::vector<const Symbol *>> Syms) {
}
}
-bool MemIndex::fuzzyFind(Context &Ctx, const FuzzyFindRequest &Req,
+bool MemIndex::fuzzyFind(const Context &Ctx, const FuzzyFindRequest &Req,
std::function<void(const Symbol &)> Callback) const {
assert(!StringRef(Req.Query).contains("::") &&
"There must be no :: in query.");