changeset 1579:232d6ddf257d fix-static-analysis

Fixes from clang modernize-use-override
author Chris Cannam
date Thu, 22 Nov 2018 14:55:18 +0000
parents 07f23b90701a
children c01cbe41aeb5
files plugin/NativeVampPluginFactory.cpp plugin/PluginScan.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/NativeVampPluginFactory.cpp	Wed Nov 14 15:46:35 2018 +0000
+++ b/plugin/NativeVampPluginFactory.cpp	Thu Nov 22 14:55:18 2018 +0000
@@ -44,7 +44,7 @@
     PluginDeletionNotifyAdapter(Vamp::Plugin *plugin,
                                 NativeVampPluginFactory *factory) :
         PluginWrapper(plugin), m_factory(factory) { }
-    virtual ~PluginDeletionNotifyAdapter();
+    ~PluginDeletionNotifyAdapter() override;
 protected:
     NativeVampPluginFactory *m_factory;
 };
--- a/plugin/PluginScan.cpp	Wed Nov 14 15:46:35 2018 +0000
+++ b/plugin/PluginScan.cpp	Thu Nov 22 14:55:18 2018 +0000
@@ -31,7 +31,7 @@
 #endif
 {
 protected:
-    void log(std::string message) {
+    void log(std::string message) override {
         SVDEBUG << "PluginScan: " << message << endl;
     }
 };