diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 00:28:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:18 +0300 |
commit | 24373c5d2ab784edc253d904be1c10eacced135f (patch) | |
tree | 6fe07047726fed51b0c3ef7dfe28195b4d6af27a | |
parent | 810e445df010d1828a774bea635c3d15a941607c (diff) | |
download | plus-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.h | 4 |
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; |