summaryrefslogtreecommitdiff
path: root/src/network/core/packet.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-05-30 13:36:07 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-10 21:53:19 +0200
commitbb8fd007605c17c4f96fdda75e3d2780b8944faf (patch)
treee2773a80f572ae78427768527e30e93448cb2c22 /src/network/core/packet.h
parentab9b937ab7a80562b88d72ec17c6b2a6b3ed2b61 (diff)
downloadopenttd-bb8fd007605c17c4f96fdda75e3d2780b8944faf.tar.xz
Cleanup: [Network] Remove C-string Recv_string and its last use
Diffstat (limited to 'src/network/core/packet.h')
-rw-r--r--src/network/core/packet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/core/packet.h b/src/network/core/packet.h
index 21a88e3ea..277ff8bba 100644
--- a/src/network/core/packet.h
+++ b/src/network/core/packet.h
@@ -87,7 +87,6 @@ public:
uint16 Recv_uint16();
uint32 Recv_uint32();
uint64 Recv_uint64();
- void Recv_string(char *buffer, size_t size, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);
std::string Recv_string(size_t length, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);
size_t RemainingBytesToTransfer() const;