summaryrefslogtreecommitdiffstats
path: root/src/MemorySettingsRepository.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MemorySettingsRepository.h')
-rw-r--r--src/MemorySettingsRepository.h8
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,