summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-14 21:25:19 +0100
committerDavid Robillard <d@drobilla.net>2020-12-14 22:04:29 +0100
commit3669e06dd20d43d30bf89ac29e9055e0725b3564 (patch)
tree6086002971126dba88aa762aa1d487069395a137 /src/gui/PortMenu.hpp
parent6d82745afdeff69ace846e0c10bf95b3362e1c03 (diff)
downloadingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.tar.gz
ingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.tar.bz2
ingen-3669e06dd20d43d30bf89ac29e9055e0725b3564.zip
Fix unnecessary parameter copying overhead
Diffstat (limited to 'src/gui/PortMenu.hpp')
-rw-r--r--src/gui/PortMenu.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PortMenu.hpp b/src/gui/PortMenu.hpp
index 9ff632bf..7a9c6225 100644
--- a/src/gui/PortMenu.hpp
+++ b/src/gui/PortMenu.hpp
@@ -38,8 +38,8 @@ public:
PortMenu(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& xml);
- void init(App& app,
- std::shared_ptr<const client::PortModel> port,
+ void init(App& app,
+ const std::shared_ptr<const client::PortModel>& port,
bool internal_graph_port = false);
private: