From d8a7a04746ec026d7e39da89020a12b56a6cc8d0 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Fri, 20 Nov 2015 09:45:38 -0500 Subject: [PATCH] fixed warnings --- openbr/plugins/imgproc/rndtranslate.cpp | 2 +- openbr/plugins/metadata/randomrects.cpp | 2 +- openbr/plugins/metadata/randomtemplates.cpp | 2 +- openbr/plugins/metadata/removefte.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openbr/plugins/imgproc/rndtranslate.cpp b/openbr/plugins/imgproc/rndtranslate.cpp index 721872e..c57e7cf 100644 --- a/openbr/plugins/imgproc/rndtranslate.cpp +++ b/openbr/plugins/imgproc/rndtranslate.cpp @@ -38,7 +38,7 @@ class RndTranslateTransform : public UntrainableMetaTransform Q_PROPERTY(int nStages READ get_nStages WRITE set_nStages RESET reset_nStages STORED false) BR_PROPERTY(int, nStages, 3) - void project(const Template &src, Template &dst) const + void project(const Template &, Template &) const { qFatal("Shoult not be here (RndTranslate)"); } diff --git a/openbr/plugins/metadata/randomrects.cpp b/openbr/plugins/metadata/randomrects.cpp index 4f44de1..9f86088 100644 --- a/openbr/plugins/metadata/randomrects.cpp +++ b/openbr/plugins/metadata/randomrects.cpp @@ -21,7 +21,7 @@ class RandomRectsTransform : public UntrainableMetaTransform BR_PROPERTY(int, numRects, 135) BR_PROPERTY(int, minSize, 24) - void project(const Template &src, Template &dst) const + void project(const Template &, Template &) const { qFatal("NOT SUPPORTED"); } diff --git a/openbr/plugins/metadata/randomtemplates.cpp b/openbr/plugins/metadata/randomtemplates.cpp index 466a3a4..7830e52 100644 --- a/openbr/plugins/metadata/randomtemplates.cpp +++ b/openbr/plugins/metadata/randomtemplates.cpp @@ -14,7 +14,7 @@ class RandomTemplatesTransform : public UntrainableMetaTransform Q_PROPERTY(float percent READ get_percent WRITE set_percent RESET reset_percent) BR_PROPERTY(float, percent, .01) - void project(const Template &src, Template &dst) const { + void project(const Template &, Template &) const { qFatal("Not supported in RandomTemplates."); } diff --git a/openbr/plugins/metadata/removefte.cpp b/openbr/plugins/metadata/removefte.cpp index 17b3ceb..82c1608 100644 --- a/openbr/plugins/metadata/removefte.cpp +++ b/openbr/plugins/metadata/removefte.cpp @@ -12,7 +12,7 @@ class RemoveFTETransform : public UntrainableMetaTransform { Q_OBJECT - void project(const Template &src, Template &dst) const + void project(const Template &, Template &) const { qFatal("Not supported in RemoveFTE."); } -- libgit2 0.21.4