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."); }