From f173b0a535e4d97c3ecd913eafb5e5c40aca2d44 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 18 Aug 2018 16:08:25 +0200 Subject: Avoid copy by passing shared_ptr<> with const reference. --- tests/testUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testUtils.cpp') 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 testSocket::getTimeoutHandler() } -void testSocket::setTracer(vmime::shared_ptr /* tracer */) +void testSocket::setTracer(const vmime::shared_ptr & /* tracer */) { } -- cgit v1.2.3