From f95cd9245d2e889a756b187452dafaf68e795179 Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Mon, 11 Jan 2016 11:55:42 +0100 Subject: Remaining cppcheck fixes that are not covered by GH #444 --- src/lib/tls/msg_server_hello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tls/msg_server_hello.cpp') diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp index f9962a8ee..f8d0c63c7 100644 --- a/src/lib/tls/msg_server_hello.cpp +++ b/src/lib/tls/msg_server_hello.cpp @@ -28,7 +28,7 @@ Server_Hello::Server_Hello(Handshake_IO& io, u16bit ciphersuite, byte compression, bool offer_session_ticket, - const std::string next_protocol) : + const std::string& next_protocol) : m_version(new_session_version), m_session_id(new_session_id), m_random(make_hello_random(rng, policy)), -- cgit v1.2.3