From 0f045b210e59eda60128780812a02073811df5cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Jul 2020 19:51:20 +0200 Subject: Fix Wweak-vtables warning --- src/x11_in_qt5.cpp | 6 ++++++ wscript | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp index 204d159..933398b 100644 --- a/src/x11_in_qt5.cpp +++ b/src/x11_in_qt5.cpp @@ -41,6 +41,8 @@ public: , _ui_timer(0) {} + ~SuilQX11Widget() override; + void start_idle(SuilInstance* instance, const LV2UI_Idle_Interface* idle_iface) { @@ -118,6 +120,10 @@ private: int _ui_timer; }; +SuilQX11Widget::~SuilQX11Widget() +{ +} + typedef struct { QWidget* host_widget; SuilQX11Widget* parent; diff --git a/wscript b/wscript index 8da95a3..b2a412f 100644 --- a/wscript +++ b/wscript @@ -81,7 +81,6 @@ def configure(conf): autowaf.add_compiler_flags(conf.env, 'cxx', { 'clang': [ '-Wno-old-style-cast', - '-Wno-weak-vtables', '-Wno-zero-as-null-pointer-constant', ], 'gcc': [ -- cgit v1.2.1