From 3be84c23321551588c023a648344f362af2740b4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 19:31:03 +0100 Subject: Cleanup: Remove meaningless const qualifiers --- src/server/GraphPlugin.hpp | 4 ++-- src/server/InternalPlugin.hpp | 2 +- src/server/LV2Plugin.cpp | 2 +- src/server/LV2Plugin.hpp | 2 +- src/server/PluginImpl.hpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server') diff --git a/src/server/GraphPlugin.hpp b/src/server/GraphPlugin.hpp index 89aca7f4..9e221689 100644 --- a/src/server/GraphPlugin.hpp +++ b/src/server/GraphPlugin.hpp @@ -50,8 +50,8 @@ public: return nullptr; } - const Raul::Symbol symbol() const override { return Raul::Symbol("graph"); } - const std::string name() const { return "Ingen Graph"; } + Raul::Symbol symbol() const override { return Raul::Symbol("graph"); } + std::string name() const { return "Ingen Graph"; } private: const std::string _symbol; diff --git a/src/server/InternalPlugin.hpp b/src/server/InternalPlugin.hpp index 438e9f2b..d96ea86a 100644 --- a/src/server/InternalPlugin.hpp +++ b/src/server/InternalPlugin.hpp @@ -52,7 +52,7 @@ public: Engine& engine, const LilvState* state) override; - const Raul::Symbol symbol() const override { return _symbol; } + Raul::Symbol symbol() const override { return _symbol; } private: const Raul::Symbol _symbol; diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp index b3aa392c..fc5705db 100644 --- a/src/server/LV2Plugin.cpp +++ b/src/server/LV2Plugin.cpp @@ -65,7 +65,7 @@ LV2Plugin::update_properties() lilv_node_free(micro); } -const Raul::Symbol +Raul::Symbol LV2Plugin::symbol() const { std::string working = uri(); diff --git a/src/server/LV2Plugin.hpp b/src/server/LV2Plugin.hpp index f8cf1dc8..24d764cc 100644 --- a/src/server/LV2Plugin.hpp +++ b/src/server/LV2Plugin.hpp @@ -48,7 +48,7 @@ public: Engine& engine, const LilvState* state) override; - const Raul::Symbol symbol() const override; + Raul::Symbol symbol() const override; World& world() const { return _world; } const LilvPlugin* lilv_plugin() const { return _lilv_plugin; } diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp index 854157ec..3c93aa21 100644 --- a/src/server/PluginImpl.hpp +++ b/src/server/PluginImpl.hpp @@ -55,7 +55,7 @@ public: Engine& engine, const LilvState* state) = 0; - virtual const Raul::Symbol symbol() const = 0; + virtual Raul::Symbol symbol() const = 0; const Atom& type() const { return _type; } void set_type(const Atom& t) { _type = t; } -- cgit v1.2.1