diff options
author | Vincent Richard <[email protected]> | 2018-08-18 14:08:25 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2018-08-18 14:08:25 +0000 |
commit | f173b0a535e4d97c3ecd913eafb5e5c40aca2d44 (patch) | |
tree | c2c355b2e7fa5df7d5ea1c43154f274ee075c4ad /tests/testUtils.cpp | |
parent | Fixed delete array. (diff) | |
download | vmime-f173b0a535e4d97c3ecd913eafb5e5c40aca2d44.tar.gz vmime-f173b0a535e4d97c3ecd913eafb5e5c40aca2d44.zip |
Avoid copy by passing shared_ptr<> with const reference.
Diffstat (limited to 'tests/testUtils.cpp')
-rw-r--r-- | tests/testUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp index 1e8e0c99..6e31d93f 100644 --- a/tests/testUtils.cpp +++ b/tests/testUtils.cpp @@ -90,7 +90,7 @@ vmime::shared_ptr <vmime::net::timeoutHandler> testSocket::getTimeoutHandler() } -void testSocket::setTracer(vmime::shared_ptr <vmime::net::tracer> /* tracer */) +void testSocket::setTracer(const vmime::shared_ptr <vmime::net::tracer>& /* tracer */) { } |