summaryrefslogtreecommitdiff
path: root/src/properties.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-05 14:15:42 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-05 14:15:42 -0700
commite5bca038ff79497ec2fde520132c017e5105ce60 (patch)
tree32761f437feaa4a939fffb95a8e8edf96ea1e40a /src/properties.h
parente823418b40aed0a230352a83c76f87741bf8c4a7 (diff)
downloadmana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.gz
mana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.bz2
mana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.xz
mana-e5bca038ff79497ec2fde520132c017e5105ce60.zip
Actually change the return type of getBoolProperty
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/properties.h b/src/properties.h
index e203c75c..d2e4d947 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -81,7 +81,7 @@ class Properties
* @return the value of the given property or the given default when it
* doesn't exist.
*/
- float getBoolProperty(const std::string &name, bool def = false) const
+ bool getBoolProperty(const std::string &name, bool def = false) const
{
PropertyMap::const_iterator i = mProperties.find(name);
bool ret = def;