diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 14:42:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | dbb38be5ccda387ef458583b5a85c03b59a5e05c (patch) | |
tree | ca6e767d1e7d6aa86efa992c14b6f1e967309aa5 /ingen/World.hpp | |
parent | cfee0cd7d2a704153df73449be38fcef60b958eb (diff) | |
download | ingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.tar.gz ingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.tar.bz2 ingen-dbb38be5ccda387ef458583b5a85c03b59a5e05c.zip |
Fix unnecessary parameter copies
Diffstat (limited to 'ingen/World.hpp')
-rw-r--r-- | ingen/World.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ingen/World.hpp b/ingen/World.hpp index a2906525..b5fc7350 100644 --- a/ingen/World.hpp +++ b/ingen/World.hpp @@ -89,9 +89,10 @@ public: virtual bool run_module(const char* name); /** A function to create a new remote Interface. */ - typedef SPtr<Interface> (*InterfaceFactory)(World& world, - const URI& engine_uri, - SPtr<Interface> respondee); + typedef SPtr<Interface> (*InterfaceFactory)( + World& world, + const URI& engine_uri, + const SPtr<Interface>& respondee); /** Register an InterfaceFactory (for module implementations). */ virtual void add_interface_factory(const std::string& scheme, |