diff options
Diffstat (limited to 'include/ingen/client/SocketClient.hpp')
-rw-r--r-- | include/ingen/client/SocketClient.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ingen/client/SocketClient.hpp b/include/ingen/client/SocketClient.hpp index 3dc00d6f..7434da90 100644 --- a/include/ingen/client/SocketClient.hpp +++ b/include/ingen/client/SocketClient.hpp @@ -66,7 +66,7 @@ public: ? raul::Socket::Type::UNIX : raul::Socket::Type::TCP); - std::shared_ptr<raul::Socket> sock(new raul::Socket(type)); + const std::shared_ptr<raul::Socket> sock{new raul::Socket(type)}; if (!sock->connect(uri)) { world.log().error("Failed to connect <%1%> (%2%)\n", sock->uri(), strerror(errno)); |