Fem: modernize C++: use override

This commit is contained in:
wmayer
2023-08-04 01:43:49 +02:00
committed by wwmayer
parent 52ef3a540c
commit 6f142d250a
5 changed files with 5 additions and 6 deletions

View File

@@ -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;
};

View File

@@ -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;
};

View File

@@ -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;
};

View File

@@ -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

View File

@@ -36,7 +36,6 @@
#include <cassert>
#include <cmath>
#include <iostream>
#include <math.h>
// STL
#include <algorithm>