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/Store.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ingen/Store.hpp') diff --git a/ingen/Store.hpp b/ingen/Store.hpp index 3c92dcc4..1aa90936 100644 --- a/ingen/Store.hpp +++ b/ingen/Store.hpp @@ -54,7 +54,7 @@ public: iterator find_descendants_end(Store::iterator parent); const_iterator find_descendants_end(Store::const_iterator parent) const; - const_range children_range(SPtr o) const; + const_range children_range(const SPtr& o) const; /** Remove the object at `top` and all its children from the store. * -- cgit v1.2.1