diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 18:03:43 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | c35cbf038d0992887b8d4bcf5d4ff83c323ec60c (patch) | |
tree | 02384c6a8671e866a54cbd9f6002a3dd145116b9 /src/server/GraphImpl.hpp | |
parent | 8215246d12f49573f7ebcdc62ddae84185c22bfe (diff) | |
download | ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.gz ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.tar.bz2 ingen-c35cbf038d0992887b8d4bcf5d4ff83c323ec60c.zip |
Cleanup: Avoid parameter copying overhead
Diffstat (limited to 'src/server/GraphImpl.hpp')
-rw-r--r-- | src/server/GraphImpl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index 846996f3..a03d3faa 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -156,7 +156,7 @@ public: /** Add an arc to this graph. * Pre-processing thread only. */ - void add_arc(SPtr<ArcImpl> a); + void add_arc(const SPtr<ArcImpl>& a); /** Remove an arc from this graph. * Pre-processing thread only. |