From fc69f628464e650e9a99d0263e15453c3437a4ac Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Fri, 10 Jan 2014 16:58:31 -0500 Subject: [PATCH] possible linker fix --- openbr/gui/utility.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/openbr/gui/utility.cpp b/openbr/gui/utility.cpp index a675cb5..77d6d25 100644 --- a/openbr/gui/utility.cpp +++ b/openbr/gui/utility.cpp @@ -1,14 +1,11 @@ -#include #include #include #include +#include "utility.h" using namespace cv; -namespace br -{ - -QImage toQImage(const Mat &mat) +QImage br::toQImage(const Mat &mat) { // Convert to 8U depth Mat mat8u; @@ -46,5 +43,3 @@ QImage toQImage(const Mat &mat) return QImage(mat8uc3.data, mat8uc3.cols, mat8uc3.rows, 3*mat8uc3.cols, QImage::Format_RGB888).copy(); } - -} // namespace br -- libgit2 0.21.4