Skip to content

Commit a07b3bd

Browse files
committed
add const
1 parent 49b3bc7 commit a07b3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-pybind/src/completion/py_completion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void init_keyvi_completion(const py::module_& module) {
7878
)pbdoc")
7979
.def(
8080
"complete_fuzzy",
81-
[](kdc::PrefixCompletion& c, const std::string& query, const int max_edit_distance,
81+
[](const kdc::PrefixCompletion& c, const std::string& query, const int max_edit_distance,
8282
const size_t minimum_exact_prefix) {
8383
auto m = c.GetFuzzyCompletions(query, max_edit_distance, minimum_exact_prefix);
8484
return kpy::make_match_iterator(m.begin(), m.end());

0 commit comments

Comments
 (0)