missing return statement

This commit is contained in:
folkert van heusden 2024-05-17 17:07:10 +02:00
parent 00160fe2ad
commit 93043c25b8
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ public:
comm_tcp_socket_client(const std::string & host, const int port);
virtual ~comm_tcp_socket_client();
std::string get_identifier() const override { host + format(":%d", port) + " (client)"; }
std::string get_identifier() const override { return host + format(":%d", port) + " (client)"; }
bool is_connected() override;

View file

@ -32,7 +32,7 @@ public:
comm_tcp_socket_server(const int port);
virtual ~comm_tcp_socket_server();
std::string get_identifier() const override { format(":%d", port) + " (server)"; }
std::string get_identifier() const override { return format(":%d", port) + " (server)"; }
bool is_connected() override;