diff options
author | peter1138 <peter1138@openttd.org> | 2019-03-24 16:24:06 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-03-24 17:38:42 +0000 |
commit | 07de9d6c3f48b6a3b92e11d553aca145546c62ef (patch) | |
tree | fab2b0d98265ea5f0ca535ce3be68c57bf4c32ee /src/network/core/tcp_game.h | |
parent | b1fb3f4fb8c389d36ba670558a169578f7d142e2 (diff) | |
download | openttd-07de9d6c3f48b6a3b92e11d553aca145546c62ef.tar.xz |
Codechange: Use override keyword in networking classes.
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r-- | src/network/core/tcp_game.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index c41ad4dc1..b392cf717 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -522,7 +522,7 @@ public: CommandQueue incoming_queue; ///< The command-queue awaiting handling uint last_packet; ///< Time we received the last frame. - NetworkRecvStatus CloseConnection(bool error = true); + NetworkRecvStatus CloseConnection(bool error = true) override; /** * Close the network connection due to the given status. |