diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 09:03:13 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-27 09:03:13 +0000 |
commit | ee15a808a1e0d36167f80d9f96147103ba5583de (patch) | |
tree | 0756c69cfb8c8d09b0abc29aa302aeea81a59af5 /src/properties.h | |
parent | 4d546730d97828bfed5586c1d50527c7ff5e5c79 (diff) | |
download | mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.gz mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.bz2 mana-ee15a808a1e0d36167f80d9f96147103ba5583de.tar.xz mana-ee15a808a1e0d36167f80d9f96147103ba5583de.zip |
Made it compile with GCC 4.3
Diffstat (limited to 'src/properties.h')
-rw-r--r-- | src/properties.h | 3 |
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; |