diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-12 16:56:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-12 16:56:14 +0300 |
commit | 2b5db5baf923a0c822e7ee048f218fd264e91f19 (patch) | |
tree | 1d9590f40e9ba0ee32e5441d6c2d69f82f58ba3f /src/net/messageout.h | |
parent | 7ff1b993bfc1e65a2e2d44bbcfc6444421aa69a2 (diff) | |
download | mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.gz mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.bz2 mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.xz mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.zip |
Add missing packet field comments.
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r-- | src/net/messageout.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h index 758a4a966..5bb42b28f 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -44,31 +44,31 @@ class MessageOut notfinal /**< Writes a byte. */ virtual void writeInt8(const int8_t value, - const char *const str = nullptr); + const char *const str); /**< Writes a short. */ virtual void writeInt16(int16_t value, - const char *const str = nullptr) = 0; + const char *const str) = 0; /**< Writes a long. */ virtual void writeInt32(int32_t value, - const char *const str = nullptr) = 0; + const char *const str) = 0; /** * Writes a string. If a fixed length is not given (-1), it is stored * as a short at the start of the string. */ virtual void writeString(const std::string &string, - int length = -1, - const char *const str = nullptr); + int length, + const char *const str); /** * Writes a string. If a fixed length is not given (-1), it is stored * as a short at the start of the string. */ virtual void writeStringNoLog(const std::string &string, - int length = -1, - const char *const str = nullptr); + int length, + const char *const str); /** * Returns the content of the message. |