diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-21 15:30:11 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-21 15:30:11 +0000 |
commit | 1f6975d34e2c6fe8404fcbe13da406e624d94b68 (patch) | |
tree | ace660d018fada5ffa7b19c6d60060c9009238c0 /src/properties.h | |
parent | 6b4436ee8d777f720f80a3436e30f34213258810 (diff) | |
download | mana-1f6975d34e2c6fe8404fcbe13da406e624d94b68.tar.gz mana-1f6975d34e2c6fe8404fcbe13da406e624d94b68.tar.bz2 mana-1f6975d34e2c6fe8404fcbe13da406e624d94b68.tar.xz mana-1f6975d34e2c6fe8404fcbe13da406e624d94b68.zip |
Small lingering changes made while merging to 0.0.
Diffstat (limited to 'src/properties.h')
-rw-r--r-- | src/properties.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/properties.h b/src/properties.h index 69950d56..93148bdf 100644 --- a/src/properties.h +++ b/src/properties.h @@ -49,7 +49,7 @@ class Properties * doesn't exist. */ const std::string& - getProperty(const std::string &name, const std::string &def = "") + getProperty(const std::string &name, const std::string &def = "") const { PropertyMap::const_iterator i = mProperties.find(name); return (i != mProperties.end()) ? i->second : def; @@ -63,7 +63,7 @@ class Properties * @return the value of the given property, or 0.0f when it doesn't * exist. */ - float getFloatProperty(std::string const &name, float def = 0.0f) + float getFloatProperty(std::string const &name, float def = 0.0f) const { PropertyMap::const_iterator i = mProperties.find(name); float ret = def; @@ -84,7 +84,7 @@ class Properties * <code>false</code> otherwise. */ bool - hasProperty(const std::string &name) + hasProperty(const std::string &name) const { return (mProperties.find(name) != mProperties.end()); } |