summaryrefslogtreecommitdiff
path: root/src/properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/properties.h b/src/properties.h
index bcd114c1..69950d56 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -63,8 +63,7 @@ class Properties
* @return the value of the given property, or 0.0f when it doesn't
* exist.
*/
- const float
- getFloatProperty(const std::string &name, float def = 0.0f)
+ float getFloatProperty(std::string const &name, float def = 0.0f)
{
PropertyMap::const_iterator i = mProperties.find(name);
float ret = def;