From 7f987bb8d3aa163051f6b9bfcccb28fee1ffd3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 6 Feb 2017 18:27:18 +0100 Subject: [PATCH] More cppcheck warnings --- QwtFunctionPlot.hh | 2 +- textureProperties.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QwtFunctionPlot.hh b/QwtFunctionPlot.hh index 4f964cb..e155c8f 100644 --- a/QwtFunctionPlot.hh +++ b/QwtFunctionPlot.hh @@ -114,7 +114,7 @@ class QwtFunctionPlot : public QDialog, public Ui::QwtFunctionPlotBase public: /// Default constructor - QwtFunctionPlot( QWidget* _parent = 0 ); + explicit QwtFunctionPlot( QWidget* _parent = 0 ); /// Destructor ~QwtFunctionPlot() {} diff --git a/textureProperties.hh b/textureProperties.hh index 74160a6..fcdff3f 100644 --- a/textureProperties.hh +++ b/textureProperties.hh @@ -77,7 +77,7 @@ class texturePropertiesWidget : public QDialog, public Ui::Dialog void getCoordinates1D(QString _textureName, int _id, std::vector< double >& _x ); public: - texturePropertiesWidget(QWidget *parent = 0); + explicit texturePropertiesWidget(QWidget *parent = 0); void show(TextureData* _texData, int _id, QString _name = ""); -- GitLab