diff options
Diffstat (limited to '')
-rw-r--r-- | src/ByteBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index 246b075fb..6109afdee 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -26,8 +26,8 @@ Unfortunately it is very slow, so it is disabled even for regular DEBUG builds. // If a string sent over the protocol is larger than this, a warning is emitted to the console #define MAX_STRING_SIZE (512 KiB) -#define NEEDBYTES(Num) if (!CanReadBytes(Num)) return false; // Check if at least Num bytes can be read from the buffer, return false if not -#define PUTBYTES(Num) if (!CanWriteBytes(Num)) return false; // Check if at least Num bytes can be written to the buffer, return false if not +#define NEEDBYTES(Num) if (!CanReadBytes(Num)) return false // Check if at least Num bytes can be read from the buffer, return false if not +#define PUTBYTES(Num) if (!CanWriteBytes(Num)) return false // Check if at least Num bytes can be written to the buffer, return false if not |