summaryrefslogtreecommitdiffstats
path: root/src/MemorySettingsRepository.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-20 14:34:29 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-20 14:34:29 +0200
commit7175b9e435a54cff33914d21384625a445cc5cf0 (patch)
tree7feb44f1e8e4ed7ea4d5bf0ba1d173abd3417f34 /src/MemorySettingsRepository.h
parentAdded cWorld:SetSpawn() API and Lua binding (#3316) (diff)
downloadcuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar.gz
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar.bz2
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar.lz
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar.xz
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.tar.zst
cuberite-7175b9e435a54cff33914d21384625a445cc5cf0.zip
Diffstat (limited to '')
-rw-r--r--src/MemorySettingsRepository.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/MemorySettingsRepository.h b/src/MemorySettingsRepository.h
index d452ec269..5d30f9682 100644
--- a/src/MemorySettingsRepository.h
+++ b/src/MemorySettingsRepository.h
@@ -53,29 +53,26 @@ private:
struct sValue
{
- sValue(AString value):
+ sValue(AString value) :
#ifdef _DEBUG
m_Type(eType::String),
#endif
m_stringValue (value)
- {
- }
+ {}
- sValue(Int64 value):
+ sValue(Int64 value) :
#ifdef _DEBUG
m_Type(eType::Int64),
#endif
m_intValue(value)
- {
- }
+ {}
- sValue(bool value):
+ sValue(bool value) :
#ifdef _DEBUG
m_Type(eType::Bool),
#endif
m_boolValue(value)
- {
- }
+ {}
AString getStringValue() const { ASSERT(m_Type == eType::String); return m_stringValue; }
Int64 getIntValue() const { ASSERT(m_Type == eType::Int64); return m_intValue; }