Commit 6050565b authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed more clang warnings

parent 7c1a8012
...@@ -128,7 +128,7 @@ private: ...@@ -128,7 +128,7 @@ private:
/// Macro that sets up the name() function /// Macro that sets up the name() function
/// \internal /// \internal
#define DECIMATER_MODNAME(_mod_name) \ #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_; \ static std::string _s_modname_(#_mod_name); return _s_modname_; \
} }
...@@ -212,8 +212,8 @@ public: ...@@ -212,8 +212,8 @@ public:
/// Virtual desctructor /// Virtual desctructor
virtual ~ModBaseT() { } virtual ~ModBaseT() { }
/// Set module's name (using DECIMATER_MODNAME macro) /// Set module's name
DECIMATER_MODNAME(ModBase); virtual const std::string& name() const { static std::string _s_modname_("ModBase"); return _s_modname_; }
/// Returns true if criteria returns a binary value. /// Returns true if criteria returns a binary value.
......
...@@ -110,7 +110,7 @@ public: // inherited ...@@ -110,7 +110,7 @@ public: // inherited
* \see ModBaseT::collapse_priority() for return values * \see ModBaseT::collapse_priority() for return values
* \see set_max_err() * \see set_max_err()
*/ */
virtual float collapse_priority(const CollapseInfo& _ci) virtual float collapse_priority(const CollapseInfo& _ci) override
{ {
using namespace OpenMesh; using namespace OpenMesh;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment