Commit 68af96c3217ccb10fecba97d7bfd277b0e5611f3
Merge pull request #187 from biometrics/nothing
Remove NoneTransform, it is a strict duplicate of IdentityTransform
Showing
1 changed file
with
0 additions
and
16 deletions
openbr/plugins/template.cpp
| ... | ... | @@ -93,22 +93,6 @@ class SelectPointsTransform : public UntrainableMetadataTransform |
| 93 | 93 | |
| 94 | 94 | BR_REGISTER(Transform, SelectPointsTransform) |
| 95 | 95 | |
| 96 | -/*! | |
| 97 | - * \ingroup transforms | |
| 98 | - * \brief Does nothing. | |
| 99 | - */ | |
| 100 | -class NoneTransform : public UntrainableMetaTransform | |
| 101 | -{ | |
| 102 | - Q_OBJECT | |
| 103 | - | |
| 104 | - void project(const Template &src, Template &dst) const | |
| 105 | - { | |
| 106 | - dst = src; | |
| 107 | - } | |
| 108 | -}; | |
| 109 | - | |
| 110 | -BR_REGISTER(Transform, NoneTransform) | |
| 111 | - | |
| 112 | 96 | } // namespace br |
| 113 | 97 | |
| 114 | 98 | #include "template.moc" | ... | ... |