summaryrefslogtreecommitdiff
path: root/src/depricatedevent.h
diff options
context:
space:
mode:
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,