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/widgets/widget2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/widget2.h') diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h index 77af3d216..5a7ad3d53 100644 --- a/src/gui/widgets/widget2.h +++ b/src/gui/widgets/widget2.h @@ -82,12 +82,12 @@ class Widget2 notfinal } } - void setForegroundColor2(const Color &color) + void setForegroundColor2(const Color &color) noexcept2 { mForegroundColor2 = color; } - Widget* getWindow() const A_WARN_UNUSED + Widget* getWindow() const noexcept2 A_WARN_UNUSED { return mWindow; } -- cgit v1.2.3-60-g2f50