Fem: modernize C++: use override
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
protected:
|
||||
void handleChangedPropertyType(Base::XMLReader& reader, const char* TypeName,
|
||||
App::Property* prop);
|
||||
App::Property* prop) override;
|
||||
void onChanged(const App::Property* prop) override;
|
||||
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
protected:
|
||||
void handleChangedPropertyType(Base::XMLReader& reader, const char* TypeName,
|
||||
App::Property* prop);
|
||||
App::Property* prop) override;
|
||||
void onChanged(const App::Property* prop) override;
|
||||
|
||||
};
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
protected:
|
||||
void handleChangedPropertyType(Base::XMLReader& reader, const char* TypeName,
|
||||
App::Property* prop);
|
||||
App::Property* prop) override;
|
||||
void onChanged(const App::Property* prop) override;
|
||||
|
||||
};
|
||||
|
||||
@@ -36,10 +36,10 @@ class AbaqusHighlighter : public Gui::SyntaxHighlighter
|
||||
{
|
||||
public:
|
||||
explicit AbaqusHighlighter(QObject* parent);
|
||||
virtual ~AbaqusHighlighter();
|
||||
~AbaqusHighlighter() override;
|
||||
|
||||
protected:
|
||||
void highlightBlock(const QString &text);
|
||||
void highlightBlock(const QString &text) override;
|
||||
};
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
Reference in New Issue
Block a user