summaryrefslogtreecommitdiff
path: root/src/events/mouseevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/events/mouseevent.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/events/mouseevent.h')
-rw-r--r--src/events/mouseevent.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index c2f1d93cd..36370c631 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -111,7 +111,7 @@ class MouseEvent: public InputGuiEvent
*
* @return The button of the mouse event.
*/
- MouseButtonT getButton() const A_WARN_UNUSED
+ MouseButtonT getButton() const noexcept2 A_WARN_UNUSED
{ return mButton; }
/**
@@ -122,7 +122,7 @@ class MouseEvent: public InputGuiEvent
* @return The x coordinate of the mouse event.
* @see Widget::addMouseListener, Widget::removeMouseListener
*/
- int getX() const A_WARN_UNUSED
+ int getX() const noexcept2 A_WARN_UNUSED
{ return mX; }
/**
@@ -133,7 +133,7 @@ class MouseEvent: public InputGuiEvent
* @return The y coordinate of the mouse event.
* @see Widget::addMouseListener, Widget::removeMouseListener
*/
- int getY() const A_WARN_UNUSED
+ int getY() const noexcept2 A_WARN_UNUSED
{ return mY; }
/**
@@ -142,7 +142,7 @@ class MouseEvent: public InputGuiEvent
*
* @return The number of clicks generated with the same button.
*/
- int getClickCount() const A_WARN_UNUSED
+ int getClickCount() const noexcept2 A_WARN_UNUSED
{ return mClickCount; }
/**
@@ -150,7 +150,7 @@ class MouseEvent: public InputGuiEvent
*
* @return The type of the event.
*/
- MouseEventTypeT getType() const A_WARN_UNUSED
+ MouseEventTypeT getType() const noexcept2 A_WARN_UNUSED
{ return mType; }
void setX(int n)