Fem: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:17:40 +01:00
parent 51b94abfde
commit 7ae9fc0d67
88 changed files with 301 additions and 301 deletions

View File

@@ -48,7 +48,7 @@ class FemGuiExport FunctionWidget : public QWidget {
Q_OBJECT
public:
FunctionWidget() : m_block(false), m_view(0), m_object(0) {}
FunctionWidget() : m_block(false), m_view(nullptr), m_object(nullptr) {}
virtual ~FunctionWidget() {}
virtual void applyPythonCode() = 0;
@@ -111,7 +111,7 @@ public:
//creates the widget used in the task dalogs, either for the function itself or for
//the filter using it
virtual FunctionWidget* createControlWidget() {return NULL;}
virtual FunctionWidget* createControlWidget() {return nullptr;}
protected:
virtual bool setEdit(int ModNum);