Commit bcac8769 authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

fixed broken python cv2.cpp build after rev.6089

parent af99bee3
...@@ -772,11 +772,11 @@ static bool pyopencv_to(PyObject *o, cv::flann::IndexParams& p, const char *name ...@@ -772,11 +772,11 @@ static bool pyopencv_to(PyObject *o, cv::flann::IndexParams& p, const char *name
return ok; return ok;
} }
static bool pyopencv_to(PyObject *o, flann_distance_t& dist, const char *name="<unknown>") static bool pyopencv_to(PyObject *o, cvflann::flann_distance_t& dist, const char *name="<unknown>")
{ {
int d = 0; int d = 0;
bool ok = pyopencv_to(o, d, name); bool ok = pyopencv_to(o, d, name);
dist = (flann_distance_t)d; dist = (cvflann::flann_distance_t)d;
return ok; return ok;
} }
......
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