From: Olivier Goffart Date: Wed, 5 Feb 2020 12:04:52 +0000 (+0100) Subject: Make PluginFactory virtual to silent -Wnon-virtual-dtor warning X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~142 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7fd4a280f017951680b011a119e284b2625db1b8;p=nextcloud-desktop.git Make PluginFactory virtual to silent -Wnon-virtual-dtor warning This is not necessary, but it also shouldn't hurt. --- diff --git a/src/common/plugin.h b/src/common/plugin.h index df17ccc5c..3d28f7dd3 100644 --- a/src/common/plugin.h +++ b/src/common/plugin.h @@ -26,7 +26,7 @@ namespace OCC { class OCSYNC_EXPORT PluginFactory { public: - ~PluginFactory(); + virtual ~PluginFactory(); virtual QObject* create(QObject* parent) = 0; };