Skip to content

Commit

Permalink
Make PluginFactory virtual to silent -Wnon-virtual-dtor warning
Browse files Browse the repository at this point in the history
This is not necessary, but it also shouldn't hurt.
  • Loading branch information
ogoffart committed Feb 10, 2020
1 parent 689d4f7 commit f076682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace OCC {
class OCSYNC_EXPORT PluginFactory
{
public:
~PluginFactory();
virtual ~PluginFactory();
virtual QObject* create(QObject* parent) = 0;
};

Expand Down

0 comments on commit f076682

Please sign in to comment.