diff options
author | David Robillard <d@drobilla.net> | 2020-07-17 19:30:40 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 19:59:47 +0200 |
commit | 38985664a60f2caf1576c32f01866b09183136cd (patch) | |
tree | 024c8d507ba74f49d18abedabd3b0fd0015190e9 /raul | |
parent | 14d9ddc7441f401117bdf27663a5ddf9237425d2 (diff) | |
download | raul-38985664a60f2caf1576c32f01866b09183136cd.tar.gz raul-38985664a60f2caf1576c32f01866b09183136cd.tar.bz2 raul-38985664a60f2caf1576c32f01866b09183136cd.zip |
Remove useless casts
Diffstat (limited to 'raul')
-rw-r--r-- | raul/Socket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |