Commit 0ea18168cd35d77b272b2ed99e846bb86d156e9a

Authored by Josh Klontz
1 parent a9119043

compile fix

Showing 1 changed file with 2 additions and 2 deletions
openbr/openbr_plugin.cpp
... ... @@ -1386,12 +1386,12 @@ QList<float> Distance::compare(const TemplateList &targets, const Template &quer
1386 1386 return scores;
1387 1387 }
1388 1388  
1389   -float compare(const Template &a, const Template &b) const
  1389 +float Distance::compare(const Template &a, const Template &b) const
1390 1390 {
1391 1391 return compare(a.m(), b.m());
1392 1392 }
1393 1393  
1394   -float compare(const cv::Mat &, const cv::Mat &) const
  1394 +float Distance::compare(const cv::Mat &, const cv::Mat &) const
1395 1395 {
1396 1396 qFatal("Logic error: %s did not implement a comparison function or was accessed at an unsupported level of abstraction.", metaObject()->className());
1397 1397 }
... ...