summaryrefslogtreecommitdiff
path: root/src/depricatedevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depricatedevent.cpp')
-rw-r--r--src/depricatedevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depricatedevent.cpp b/src/depricatedevent.cpp
index 37826ac24..9cb37ac85 100644
--- a/src/depricatedevent.cpp
+++ b/src/depricatedevent.cpp
@@ -69,7 +69,7 @@ void DepricatedEvent::setString(const std::string &key,
mData[key] = new StringData(value);
}
-const std::string &DepricatedEvent::getString(const std::string &key) const
+const std::string DepricatedEvent::getString(const std::string &key) const
{
const VariableMap::const_iterator it = mData.find(key);
if (it == mData.end())