From 38985664a60f2caf1576c32f01866b09183136cd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Jul 2020 19:30:40 +0200 Subject: Remove useless casts --- raul/Socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul') diff --git a/raul/Socket.hpp b/raul/Socket.hpp index 57279e7..470527f 100644 --- a/raul/Socket.hpp +++ b/raul/Socket.hpp @@ -230,7 +230,7 @@ Socket::accept() if (!getnameinfo(client_addr, client_addr_len, host, sizeof(host), serv, sizeof(serv), 0)) { const std::string scheme = _uri.substr(0, _uri.find(':')); - client_uri = std::string(scheme + "://" + host + ":" + serv); + client_uri = scheme + "://" + host + ":" + serv; } } -- cgit v1.2.1