Commit d8a7a04746ec026d7e39da89020a12b56a6cc8d0

Authored by Josh Klontz
1 parent 084ec93f

fixed warnings

openbr/plugins/imgproc/rndtranslate.cpp
... ... @@ -38,7 +38,7 @@ class RndTranslateTransform : public UntrainableMetaTransform
38 38 Q_PROPERTY(int nStages READ get_nStages WRITE set_nStages RESET reset_nStages STORED false)
39 39 BR_PROPERTY(int, nStages, 3)
40 40  
41   - void project(const Template &src, Template &dst) const
  41 + void project(const Template &, Template &) const
42 42 {
43 43 qFatal("Shoult not be here (RndTranslate)");
44 44 }
... ...
openbr/plugins/metadata/randomrects.cpp
... ... @@ -21,7 +21,7 @@ class RandomRectsTransform : public UntrainableMetaTransform
21 21 BR_PROPERTY(int, numRects, 135)
22 22 BR_PROPERTY(int, minSize, 24)
23 23  
24   - void project(const Template &src, Template &dst) const
  24 + void project(const Template &, Template &) const
25 25 {
26 26 qFatal("NOT SUPPORTED");
27 27 }
... ...
openbr/plugins/metadata/randomtemplates.cpp
... ... @@ -14,7 +14,7 @@ class RandomTemplatesTransform : public UntrainableMetaTransform
14 14 Q_PROPERTY(float percent READ get_percent WRITE set_percent RESET reset_percent)
15 15 BR_PROPERTY(float, percent, .01)
16 16  
17   - void project(const Template &src, Template &dst) const {
  17 + void project(const Template &, Template &) const {
18 18 qFatal("Not supported in RandomTemplates.");
19 19 }
20 20  
... ...
openbr/plugins/metadata/removefte.cpp
... ... @@ -12,7 +12,7 @@ class RemoveFTETransform : public UntrainableMetaTransform
12 12 {
13 13 Q_OBJECT
14 14  
15   - void project(const Template &src, Template &dst) const
  15 + void project(const Template &, Template &) const
16 16 {
17 17 qFatal("Not supported in RemoveFTE.");
18 18 }
... ...