diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-01-26 10:41:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 10:41:55 +0100 |
commit | 50a94f972d26ee15fc22cce657d13023d1022905 (patch) | |
tree | 24417c741cf85061b73098a32e61ecd3749be05e /src/ByteBuffer.cpp | |
parent | Redstone: inline -> static (diff) | |
download | cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.gz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.bz2 cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.lz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.xz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.zst cuberite-50a94f972d26ee15fc22cce657d13023d1022905.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ByteBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index 2de6aec60..3891af247 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -115,7 +115,7 @@ bool cByteBuffer::Write(const void * a_Bytes, size_t a_Count) // Store the current free space for a check after writing: size_t CurFreeSpace = GetFreeSpace(); - #ifdef _DEBUG + #ifndef NDEBUG size_t CurReadableSpace = GetReadableSpace(); #endif size_t WrittenBytes = 0; |