From c35cbf038d0992887b8d4bcf5d4ff83c323ec60c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 18:03:43 +0100 Subject: Cleanup: Avoid parameter copying overhead --- ingen/LV2Features.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ingen/LV2Features.hpp') 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); + void add_feature(const SPtr& feature); bool is_supported(const std::string& uri) const; SPtr lv2_features(World& world, Node* node) const; -- cgit v1.2.1