summaryrefslogtreecommitdiff
path: root/src/resources/map/properties.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:03:59 +0300
commit5133814218de74d57c7febadf61b3ab05216dc25 (patch)
tree60b88270c9a50ef333fefed38c805baab00429a1 /src/resources/map/properties.h
parentcc7a39f467a49b2e91717739cb6e7c3c4b34a245 (diff)
downloadManaVerse-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.h6
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;