Some fixes for new gcc/clang

Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
This commit is contained in:
Magne Sjaastad
2022-11-25 08:59:10 +01:00
committed by GitHub
parent 69ccce225c
commit dfa1bc2cd0
12 changed files with 24 additions and 14 deletions

View File

@@ -100,8 +100,7 @@ class RiuBarChartScaleDraw : public QwtScaleDraw
public:
struct RiuBarChartTick
{
RiuBarChartTick() = default;
RiuBarChartTick( const RiuBarChartTick& rhs ) = default;
RiuBarChartTick() = default;
RiuBarChartTick( QwtScaleDiv::TickType tickType, const QString& label, bool oppositeSide = false )
: tickType( tickType )
, label( label )

View File

@@ -25,7 +25,7 @@ class RiuMdiSubWindow : public QMdiSubWindow
{
Q_OBJECT
public:
RiuMdiSubWindow( QWidget* parent = nullptr, Qt::WindowFlags flags = nullptr );
RiuMdiSubWindow( QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags() );
~RiuMdiSubWindow() override;