summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 17:02:27 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 17:02:27 +0100
commit0b08849130e9d4ad28a6c8a472083913605d9187 (patch)
treee0200b5c0126ee2f111b05108901218e442d45e8 /lilv
parentb17520360f43d147d767a81926a93660688c6c84 (diff)
downloadlilv-0b08849130e9d4ad28a6c8a472083913605d9187.tar.gz
lilv-0b08849130e9d4ad28a6c8a472083913605d9187.tar.bz2
lilv-0b08849130e9d4ad28a6c8a472083913605d9187.zip
C++: Remove meaningless const specifiers in declarations
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilvmm.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp
index c42de2f..59665cf 100644
--- a/lilv/lilvmm.hpp
+++ b/lilv/lilvmm.hpp
@@ -149,7 +149,7 @@ struct PluginClass {
inline CT(const Lilv ## CT* c_obj) : me(c_obj) {} \
LILV_WRAP_CONVERSION(const Lilv ## CT); \
LILV_WRAP0(unsigned, prefix, size); \
- LILV_WRAP1(const ET, prefix, get, LilvIter*, i); \
+ LILV_WRAP1(ET, prefix, get, LilvIter*, i); \
LILV_WRAP0(LilvIter*, prefix, begin); \
LILV_WRAP1(LilvIter*, prefix, next, LilvIter*, i); \
LILV_WRAP1(bool, prefix, is_end, LilvIter*, i); \
@@ -157,7 +157,7 @@ struct PluginClass {
struct PluginClasses {
LILV_WRAP_COLL(PluginClasses, PluginClass, plugin_classes);
- LILV_WRAP1(const PluginClass, plugin_classes,
+ LILV_WRAP1(PluginClass, plugin_classes,
get_by_uri, const LilvNode*, uri);
};
@@ -279,7 +279,7 @@ struct Plugin {
struct Plugins {
LILV_WRAP_COLL(Plugins, Plugin, plugins);
- LILV_WRAP1(const Plugin, plugins, get_by_uri, const LilvNode*, uri);
+ LILV_WRAP1(Plugin, plugins, get_by_uri, const LilvNode*, uri);
};
struct Instance {
@@ -360,7 +360,7 @@ struct World {
LILV_WRAP1_VOID(world, load_bundle, LilvNode*, bundle_uri);
LILV_WRAP0(const LilvPluginClass*, world, get_plugin_class);
LILV_WRAP0(const LilvPluginClasses*, world, get_plugin_classes);
- LILV_WRAP0(const Plugins, world, get_all_plugins);
+ LILV_WRAP0(Plugins, world, get_all_plugins);
LILV_WRAP1(int, world, load_resource, const LilvNode*, resource);
LilvWorld* me;