From bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:26:59 +0300 Subject: Add noexcept in some files. --- src/gui/gui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.h') diff --git a/src/gui/gui.h b/src/gui/gui.h index 9a8e7b14f..953140518 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -150,7 +150,7 @@ class Gui final */ void videoResized() const; - FocusHandler *getFocusHandler() const A_WARN_UNUSED + FocusHandler *getFocusHandler() const noexcept2 A_WARN_UNUSED { return mFocusHandler; } /** @@ -246,7 +246,7 @@ class Gui final * @return The top widget. NULL if no top widget has been set. * @since 0.1.0 */ - Widget* getTop() const A_WARN_UNUSED + Widget* getTop() const noexcept2 A_WARN_UNUSED { return mTop; } /** -- cgit v1.2.3-70-g09d2