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/MemorySettingsRepository.h | |
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 'src/MemorySettingsRepository.h')
-rw-r--r-- | src/MemorySettingsRepository.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MemorySettingsRepository.h b/src/MemorySettingsRepository.h index 486f6706a..a2dec8548 100644 --- a/src/MemorySettingsRepository.h +++ b/src/MemorySettingsRepository.h @@ -52,7 +52,7 @@ private: struct sValue { sValue(AString value): - #ifdef _DEBUG + #ifndef NDEBUG m_Type(eType::String), #endif m_stringValue (std::move(value)) @@ -60,7 +60,7 @@ private: } sValue(Int64 value): - #ifdef _DEBUG + #ifndef NDEBUG m_Type(eType::Int64), #endif m_intValue(value) @@ -68,7 +68,7 @@ private: } sValue(bool value): - #ifdef _DEBUG + #ifndef NDEBUG m_Type(eType::Bool), #endif m_boolValue(value) @@ -81,7 +81,7 @@ private: private: - #ifdef _DEBUG + #ifndef NDEBUG enum class eType { String, |