Commit d8a7a04746ec026d7e39da89020a12b56a6cc8d0
1 parent
084ec93f
fixed warnings
Showing
4 changed files
with
4 additions
and
4 deletions
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