diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-05 14:15:42 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-05 14:15:42 -0700 |
commit | e5bca038ff79497ec2fde520132c017e5105ce60 (patch) | |
tree | 32761f437feaa4a939fffb95a8e8edf96ea1e40a | |
parent | e823418b40aed0a230352a83c76f87741bf8c4a7 (diff) | |
download | mana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.gz mana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.bz2 mana-e5bca038ff79497ec2fde520132c017e5105ce60.tar.xz mana-e5bca038ff79497ec2fde520132c017e5105ce60.zip |
Actually change the return type of getBoolProperty
-rw-r--r-- | src/properties.h | 2 |
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; |