summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 14:42:16 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commitdbb38be5ccda387ef458583b5a85c03b59a5e05c (patch)
treeca6e767d1e7d6aa86efa992c14b6f1e967309aa5 /src/gui/ConnectWindow.hpp
parentcfee0cd7d2a704153df73449be38fcef60b958eb (diff)
downloadingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.tar.gz
ingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.tar.bz2
ingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.zip
Fix unnecessary parameter copies
Diffstat (limited to 'src/gui/ConnectWindow.hpp')
-rw-r--r--src/gui/ConnectWindow.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ConnectWindow.hpp b/src/gui/ConnectWindow.hpp
index 882e0142..481e4d83 100644
--- a/src/gui/ConnectWindow.hpp
+++ b/src/gui/ConnectWindow.hpp
@@ -57,7 +57,7 @@ public:
ConnectWindow(BaseObjectType* cobject,
Glib::RefPtr<Gtk::Builder> xml);
- void set_connected_to(SPtr<ingen::Interface> engine);
+ void set_connected_to(const SPtr<ingen::Interface>& engine);
void start(App& app, ingen::World& world);
bool attached() const { return _finished_connecting; }