From 0ea18168cd35d77b272b2ed99e846bb86d156e9a Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 7 May 2014 10:39:45 -0400 Subject: [PATCH] compile fix --- openbr/openbr_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index f50fcee..bcb1c69 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1386,12 +1386,12 @@ QList Distance::compare(const TemplateList &targets, const Template &quer return scores; } -float compare(const Template &a, const Template &b) const +float Distance::compare(const Template &a, const Template &b) const { return compare(a.m(), b.m()); } -float compare(const cv::Mat &, const cv::Mat &) const +float Distance::compare(const cv::Mat &, const cv::Mat &) const { qFatal("Logic error: %s did not implement a comparison function or was accessed at an unsupported level of abstraction.", metaObject()->className()); } -- libgit2 0.21.4