diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:03:59 +0300 |
commit | 5133814218de74d57c7febadf61b3ab05216dc25 (patch) | |
tree | 60b88270c9a50ef333fefed38c805baab00429a1 /src/resources/map/properties.h | |
parent | cc7a39f467a49b2e91717739cb6e7c3c4b34a245 (diff) | |
download | manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.gz manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.bz2 manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.xz manaverse-5133814218de74d57c7febadf61b3ab05216dc25.zip |
Remove default parameters from properties.h
Diffstat (limited to 'src/resources/map/properties.h')
-rw-r--r-- | src/resources/map/properties.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/map/properties.h b/src/resources/map/properties.h index 31d8cfe77..cf05da560 100644 --- a/src/resources/map/properties.h +++ b/src/resources/map/properties.h @@ -56,7 +56,7 @@ class Properties notfinal * doesn't exist. */ const std::string getProperty(const std::string &name, - const std::string &def = "") + const std::string &def) const A_WARN_UNUSED { const PropertyMap::const_iterator i = mProperties.find(name); @@ -72,7 +72,7 @@ class Properties notfinal * doesn't exist. */ float getFloatProperty(const std::string &name, - const float def = 0.0F) const A_WARN_UNUSED + const float def) const A_WARN_UNUSED { const PropertyMap::const_iterator i = mProperties.find(name); float ret = def; @@ -94,7 +94,7 @@ class Properties notfinal * doesn't exist. */ bool getBoolProperty(const std::string &name, - const bool def = false) const A_WARN_UNUSED + const bool def) const A_WARN_UNUSED { const PropertyMap::const_iterator i = mProperties.find(name); bool ret = def; |