diff options
author | David Robillard <d@drobilla.net> | 2017-12-18 11:04:06 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-18 11:04:06 +0100 |
commit | 4324e6b427b3ed93b6dd74bde0be49b9508b678e (patch) | |
tree | 44de36ac87200d4e2238bbf2ce589b7df1abae69 /ingen | |
parent | 86bf9cbd7af99c8964745d414494c26af11af0f4 (diff) | |
download | ingen-4324e6b427b3ed93b6dd74bde0be49b9508b678e.tar.gz ingen-4324e6b427b3ed93b6dd74bde0be49b9508b678e.tar.bz2 ingen-4324e6b427b3ed93b6dd74bde0be49b9508b678e.zip |
Fix override specifiers
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/AtomWriter.hpp | 2 | ||||
-rw-r--r-- | ingen/Interface.hpp | 4 | ||||
-rw-r--r-- | ingen/client/ClientStore.hpp | 2 | ||||
-rw-r--r-- | ingen/client/SigClientInterface.hpp | 2 | ||||
-rw-r--r-- | ingen/client/SocketClient.hpp | 4 | ||||
-rw-r--r-- | ingen/client/ThreadedSigClientInterface.hpp | 6 |
6 files changed, 10 insertions, 10 deletions
diff --git a/ingen/AtomWriter.hpp b/ingen/AtomWriter.hpp index 20d152e6..2366df05 100644 --- a/ingen/AtomWriter.hpp +++ b/ingen/AtomWriter.hpp @@ -38,7 +38,7 @@ public: ~AtomWriter(); - Raul::URI uri() const { + Raul::URI uri() const override { return Raul::URI("ingen:/clients/atom_writer"); } diff --git a/ingen/Interface.hpp b/ingen/Interface.hpp index a516892c..3b33f813 100644 --- a/ingen/Interface.hpp +++ b/ingen/Interface.hpp @@ -51,9 +51,7 @@ public: virtual Raul::URI uri() const = 0; - virtual SPtr<Interface> respondee() const { - return SPtr<Interface>(); - } + virtual SPtr<Interface> respondee() const { return SPtr<Interface>(); } virtual void set_respondee(SPtr<Interface> respondee) {} diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 2724df9a..45662afb 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -58,7 +58,7 @@ public: Log& log, SPtr<SigClientInterface> emitter = SPtr<SigClientInterface>()); - Raul::URI uri() const { return Raul::URI("ingen:/clients/store"); } + Raul::URI uri() const override { return Raul::URI("ingen:/clients/store"); } SPtr<const ObjectModel> object(const Raul::Path& path) const; SPtr<const PluginModel> plugin(const Raul::URI& uri) const; diff --git a/ingen/client/SigClientInterface.hpp b/ingen/client/SigClientInterface.hpp index 04af2dd9..4acc903b 100644 --- a/ingen/client/SigClientInterface.hpp +++ b/ingen/client/SigClientInterface.hpp @@ -46,7 +46,7 @@ class INGEN_API SigClientInterface : public Ingen::Interface, public: SigClientInterface() {} - Raul::URI uri() const { return Raul::URI("ingen:/clients/sig"); } + Raul::URI uri() const override { return Raul::URI("ingen:/clients/sig"); } INGEN_SIGNAL(message, void, Message) diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp index 3a7a7e69..d1b19a68 100644 --- a/ingen/client/SocketClient.hpp +++ b/ingen/client/SocketClient.hpp @@ -37,11 +37,11 @@ public: , _reader(world, *respondee.get(), sock) {} - virtual SPtr<Interface> respondee() const { + SPtr<Interface> respondee() const override { return _respondee; } - virtual void set_respondee(SPtr<Interface> respondee) { + void set_respondee(SPtr<Interface> respondee) override { _respondee = respondee; } diff --git a/ingen/client/ThreadedSigClientInterface.hpp b/ingen/client/ThreadedSigClientInterface.hpp index 8fa36c90..6457d559 100644 --- a/ingen/client/ThreadedSigClientInterface.hpp +++ b/ingen/client/ThreadedSigClientInterface.hpp @@ -55,7 +55,9 @@ public: : message_slot(_signal_message.make_slot()) {} - virtual Raul::URI uri() const { return Raul::URI("ingen:/clients/sig_queue"); } + Raul::URI uri() const override { + return Raul::URI("ingen:/clients/sig_queue"); + } void message(const Message& msg) override { std::lock_guard<std::mutex> lock(_mutex); @@ -63,7 +65,7 @@ public: } /** Process all queued events - Called from GTK thread to emit signals. */ - bool emit_signals() { + bool emit_signals() override { // Get pending signals std::vector<Closure> sigs; { |