diff options
author | David Robillard <d@drobilla.net> | 2020-12-14 21:25:19 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-14 22:04:29 +0100 |
commit | 3669e06dd20d43d30bf89ac29e9055e0725b3564 (patch) | |
tree | 6086002971126dba88aa762aa1d487069395a137 /src/gui/NodeMenu.hpp | |
parent | 6d82745afdeff69ace846e0c10bf95b3362e1c03 (diff) | |
download | ingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.tar.gz ingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.tar.bz2 ingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.zip |
Fix unnecessary parameter copying overhead
Diffstat (limited to 'src/gui/NodeMenu.hpp')
-rw-r--r-- | src/gui/NodeMenu.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeMenu.hpp b/src/gui/NodeMenu.hpp index b35919eb..381dbf14 100644 --- a/src/gui/NodeMenu.hpp +++ b/src/gui/NodeMenu.hpp @@ -41,7 +41,7 @@ public: NodeMenu(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& xml); - void init(App& app, std::shared_ptr<const client::BlockModel> block); + void init(App& app, const std::shared_ptr<const client::BlockModel>& block); bool has_control_inputs(); |