summaryrefslogtreecommitdiff
path: root/src/depricatedevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/depricatedevent.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/depricatedevent.h')
-rw-r--r--src/depricatedevent.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/depricatedevent.h b/src/depricatedevent.h
index 7c2ebed79..baaecc70b 100644
--- a/src/depricatedevent.h
+++ b/src/depricatedevent.h
@@ -129,15 +129,15 @@ class DepricatedEvent final
~DepricatedEvent();
- DepricatedEvents getName() const
+ DepricatedEvents getName() const A_WARN_UNUSED
{ return mDepricatedEventName; }
// Sets or gets a interger with a key to identify
void setInt(const std::string &key, int value)
- throw (BadDepricatedEvent);
+ throw (BadDepricatedEvent);
int getInt(const std::string &key)
- const throw (BadDepricatedEvent);
+ const throw (BadDepricatedEvent) A_WARN_UNUSED;
// Sets or gets a string with a key to identify
void setString(const std::string &key,
@@ -145,13 +145,13 @@ class DepricatedEvent final
throw (BadDepricatedEvent);
const std::string &getString(const std::string &key)
- const throw (BadDepricatedEvent);
+ const throw (BadDepricatedEvent) A_WARN_UNUSED;
// Sets or gets a floating point number with key to identify
void setFloat(const std::string &key, double value)
- throw (BadDepricatedEvent);
+ throw (BadDepricatedEvent);
double getFloat(const std::string &key)
- const throw (BadDepricatedEvent);
+ const throw (BadDepricatedEvent) A_WARN_UNUSED;
// Sends event to all listener on the channel
static void trigger(const Channels channel,