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

This commit is contained in:
ippei ito
2015-03-14 06:58:34 +09:00
parent 8efdfd9dfc
commit f7d52c774e

View File

@@ -361,7 +361,7 @@ Index::Index(InputArray _data, const IndexParams& params, flann_distance_t _dist
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);