summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 19:31:03 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commit3be84c23321551588c023a648344f362af2740b4 (patch)
tree559efbd6e5f754ac018fcb71705a54e29358b173 /src/server
parent43c8fb044351af27b05bba20f36bbfce583ddeb2 (diff)
downloadingen-3be84c23321551588c023a648344f362af2740b4.tar.gz
ingen-3be84c23321551588c023a648344f362af2740b4.tar.bz2
ingen-3be84c23321551588c023a648344f362af2740b4.zip
Cleanup: Remove meaningless const qualifiers
Diffstat (limited to 'src/server')
-rw-r--r--src/server/GraphPlugin.hpp4
-rw-r--r--src/server/InternalPlugin.hpp2
-rw-r--r--src/server/LV2Plugin.cpp2
-rw-r--r--src/server/LV2Plugin.hpp2
-rw-r--r--src/server/PluginImpl.hpp2
5 files changed, 6 insertions, 6 deletions
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; }