missing return statement
This commit is contained in:
parent
00160fe2ad
commit
93043c25b8
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue