diff options
author | David Robillard <d@drobilla.net> | 2023-05-12 09:58:30 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-12 09:58:30 -0400 |
commit | c076e93136799096da613950eb14e7d5fbe9375a (patch) | |
tree | 5f681c9bf3982a01611cd032863d68612fd52174 /include/ingen/client | |
parent | 21d99ff04daafae8fbd03f612c1b8ee070d0d950 (diff) | |
download | ingen-c076e93136799096da613950eb14e7d5fbe9375a.tar.gz ingen-c076e93136799096da613950eb14e7d5fbe9375a.tar.bz2 ingen-c076e93136799096da613950eb14e7d5fbe9375a.zip |
Fix const correctness
Diffstat (limited to 'include/ingen/client')
-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)); |