Fixed more clang warnings

This commit is contained in:
Jan Möbius
2019-05-29 11:14:37 +02:00
parent 7c1a8012d5
commit 6050565b86
2 changed files with 4 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ private:
/// Macro that sets up the name() function
/// \internal
#define DECIMATER_MODNAME(_mod_name) \
virtual const std::string& name() const { \
virtual const std::string& name() const override { \
static std::string _s_modname_(#_mod_name); return _s_modname_; \
}
@@ -212,8 +212,8 @@ public:
/// Virtual desctructor
virtual ~ModBaseT() { }
/// Set module's name (using DECIMATER_MODNAME macro)
DECIMATER_MODNAME(ModBase);
/// Set module's name
virtual const std::string& name() const { static std::string _s_modname_("ModBase"); return _s_modname_; }
/// Returns true if criteria returns a binary value.

View File

@@ -110,7 +110,7 @@ public: // inherited
* \see ModBaseT::collapse_priority() for return values
* \see set_max_err()
*/
virtual float collapse_priority(const CollapseInfo& _ci)
virtual float collapse_priority(const CollapseInfo& _ci) override
{
using namespace OpenMesh;