summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 00:28:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:18 +0300
commit24373c5d2ab784edc253d904be1c10eacced135f (patch)
tree6fe07047726fed51b0c3ef7dfe28195b4d6af27a
parent810e445df010d1828a774bea635c3d15a941607c (diff)
downloadplus-24373c5d2ab784edc253d904be1c10eacced135f.tar.gz
plus-24373c5d2ab784edc253d904be1c10eacced135f.tar.bz2
plus-24373c5d2ab784edc253d904be1c10eacced135f.tar.xz
plus-24373c5d2ab784edc253d904be1c10eacced135f.zip
fix const in definition in depricatedevent.
-rw-r--r--src/depricatedevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/depricatedevent.h b/src/depricatedevent.h
index 5ae4c85f3..3b2f1e50a 100644
--- a/src/depricatedevent.h
+++ b/src/depricatedevent.h
@@ -63,7 +63,7 @@ class DepricatedEvent final
{ return mDepricatedEventName; }
// Sets or gets a interger with a key to identify
- void setInt(const std::string &key, int value);
+ void setInt(const std::string &key, const int value);
int getInt(const std::string &key) const A_WARN_UNUSED;
@@ -75,7 +75,7 @@ class DepricatedEvent final
const A_WARN_UNUSED;
// Sets or gets a floating point number with key to identify
- void setFloat(const std::string &key, double value);
+ void setFloat(const std::string &key, const double value);
double getFloat(const std::string &key) const A_WARN_UNUSED;