summaryrefslogtreecommitdiff
path: root/src/variabledata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/variabledata.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadmanaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/variabledata.h')
-rw-r--r--src/variabledata.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/variabledata.h b/src/variabledata.h
index f20511dda..06969a089 100644
--- a/src/variabledata.h
+++ b/src/variabledata.h
@@ -47,7 +47,7 @@ class VariableData
class IntData final : public VariableData
{
public:
- IntData(const int value) :
+ explicit IntData(const int value) :
mData(value)
{ }
@@ -64,7 +64,7 @@ class IntData final : public VariableData
class StringData final : public VariableData
{
public:
- StringData(const std::string &value) :
+ explicit StringData(const std::string &value) :
mData(value)
{ }
@@ -81,7 +81,7 @@ class StringData final : public VariableData
class FloatData final : public VariableData
{
public:
- FloatData(const double value) :
+ explicit FloatData(const double value) :
mData(value)
{ }
@@ -98,7 +98,7 @@ class FloatData final : public VariableData
class BoolData final : public VariableData
{
public:
- BoolData(const bool value) :
+ explicit BoolData(const bool value) :
mData(value)
{ }