summaryrefslogtreecommitdiff
path: root/src/properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/properties.h b/src/properties.h
index b6ef5d80..59318b80 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -42,8 +42,8 @@ class Properties
* @return the value of the given property or the given default when it
* doesn't exist.
*/
- const std::string getProperty(const std::string &name,
- const std::string &def = "") const
+ std::string getProperty(const std::string &name,
+ const std::string &def = "") const
{
PropertyMap::const_iterator i = mProperties.find(name);
return (i != mProperties.end()) ? i->second : def;