Commit f7d52c77 authored by ippei ito's avatar ippei ito

Fix compile error on linux change cv::InputArray& to cv::InputArray

parent 8efdfd9d
...@@ -361,7 +361,7 @@ Index::Index(InputArray _data, const IndexParams& params, flann_distance_t _dist ...@@ -361,7 +361,7 @@ Index::Index(InputArray _data, const IndexParams& params, flann_distance_t _dist
build(_data, _data, params, _distType); build(_data, _data, params, _distType);
} }
void Index::build(InputArray &_wholedata, InputArray &_data, const IndexParams& params, flann_distance_t _distType) void Index::build(InputArray _wholedata, InputArray _data, const IndexParams& params, flann_distance_t _distType)
{ {
algo = getParam<flann_algorithm_t>(params, "algorithm", FLANN_INDEX_LINEAR); algo = getParam<flann_algorithm_t>(params, "algorithm", FLANN_INDEX_LINEAR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment