Skip to content

Commit ce5ad8c

Browse files
author
Alastair Quadros
committed
knnSearch (on vector<size_t>) missing const
1 parent 04b4a56 commit ce5ad8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/flann/flann.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class Index
272272
std::vector< std::vector<size_t> >& indices,
273273
std::vector<std::vector<DistanceType> >& dists,
274274
size_t knn,
275-
const SearchParams& params)
275+
const SearchParams& params) const
276276
{
277277
return nnIndex_->knnSearch(queries, indices, dists, knn, params);
278278
}

0 commit comments

Comments
 (0)