From e5bca038ff79497ec2fde520132c017e5105ce60 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 5 Feb 2010 14:15:42 -0700 Subject: Actually change the return type of getBoolProperty --- src/properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2