summaryrefslogtreecommitdiffstats
path: root/src/client/PortModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 18:03:43 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commitc35cbf038d0992887b8d4bcf5d4ff83c323ec60c (patch)
tree02384c6a8671e866a54cbd9f6002a3dd145116b9 /src/client/PortModel.cpp
parent8215246d12f49573f7ebcdc62ddae84185c22bfe (diff)
downloadingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.gz
ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.bz2
ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.zip
Cleanup: Avoid parameter copying overhead
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r--src/client/PortModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 79a3527a..6b2d011f 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -65,7 +65,7 @@ PortModel::is_uri() const
}
void
-PortModel::set(SPtr<ObjectModel> model)
+PortModel::set(const SPtr<ObjectModel>& model)
{
ObjectModel::set(model);