Commit 6b3de1b3eee9ad409475661a9b4d77fa34b81dce

Authored by Scott Klum
1 parent 8427e67a

Windows complains that Distance::compare(mat,mat) didn't return a value

Showing 1 changed file with 1 additions and 0 deletions
openbr/openbr_plugin.cpp
... ... @@ -1401,6 +1401,7 @@ float Distance::compare(const Template &a, const Template &b) const
1401 1401 float Distance::compare(const cv::Mat &, const cv::Mat &) const
1402 1402 {
1403 1403 qFatal("Logic error: %s did not implement a comparison function or was accessed at an unsupported level of abstraction.", metaObject()->className());
  1404 + return -std::numeric_limits<float>::max();
1404 1405 }
1405 1406  
1406 1407 /* Distance - private methods */
... ...