summaryrefslogtreecommitdiffstats
path: root/ingen/LV2Features.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 18:03:43 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commitc35cbf038d0992887b8d4bcf5d4ff83c323ec60c (patch)
tree02384c6a8671e866a54cbd9f6002a3dd145116b9 /ingen/LV2Features.hpp
parent8215246d12f49573f7ebcdc62ddae84185c22bfe (diff)
downloadingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.gz
ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.bz2
ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.zip
Cleanup: Avoid parameter copying overhead
Diffstat (limited to 'ingen/LV2Features.hpp')
-rw-r--r--ingen/LV2Features.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp
index e2ce600f..06811294 100644
--- a/ingen/LV2Features.hpp
+++ b/ingen/LV2Features.hpp
@@ -78,7 +78,7 @@ protected:
LV2_Feature** _array;
};
- void add_feature(SPtr<Feature> feature);
+ void add_feature(const SPtr<Feature>& feature);
bool is_supported(const std::string& uri) const;
SPtr<FeatureArray> lv2_features(World& world, Node* node) const;