Skip to content

Commit

Permalink
netplay/tcp: add missing explicit keyword to TCP-related classes
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Solodovnikov <[email protected]>
  • Loading branch information
ManManson committed Nov 16, 2024
1 parent d781992 commit dbeec3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/netplay/tcp/tcp_client_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TCPClientConnection : public IClientConnection
{
public:

TCPClientConnection(Socket* rawSocket);
explicit TCPClientConnection(Socket* rawSocket);
virtual ~TCPClientConnection() override;

virtual net::result<ssize_t> readAll(void* buf, size_t size, unsigned timeout) override;
Expand Down
2 changes: 1 addition & 1 deletion lib/netplay/tcp/tcp_connection_poll_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TCPConnectionPollGroup : public IConnectionPollGroup
{
public:

TCPConnectionPollGroup(SocketSet* sset);
explicit TCPConnectionPollGroup(SocketSet* sset);
virtual ~TCPConnectionPollGroup() override;

virtual int checkSockets(unsigned timeout) override;
Expand Down
2 changes: 1 addition & 1 deletion lib/netplay/tcp/tcp_listen_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TCPListenSocket : public IListenSocket
{
public:

TCPListenSocket(tcp::Socket* rawSocket);
explicit TCPListenSocket(tcp::Socket* rawSocket);
virtual ~TCPListenSocket() override;

virtual IClientConnection* accept() override;
Expand Down

0 comments on commit dbeec3f

Please sign in to comment.