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 authored and GitHub committed 2022-11-25 08:59:10 +01:00
1 parent 69ccce225c
commit dfa1bc2cd0
12 files changed
+24 -14

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ public:
const QGLFormat& format,
QWidget* parent,
OpenGLWidget* shareWidget = nullptr,
Qt::WindowFlags f = nullptr );
Qt::WindowFlags f = Qt::WindowFlags() );
OpenGLWidget( OpenGLWidget* shareWidget, QWidget* parent, Qt::WindowFlags f = Qt::WindowFlags() );
cvf::OpenGLContext* cvfOpenGLContext() const;