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/scrollarea.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/scrollarea.h') diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index 351814b79..0738843cb 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -159,7 +159,7 @@ class ScrollArea final : public BasicContainer, /** * Returns whether the widget draws its background or not. */ - bool isOpaque() const A_WARN_UNUSED + bool isOpaque() const noexcept2 A_WARN_UNUSED { return mOpaque == Opaque_true; } /** @@ -432,7 +432,7 @@ class ScrollArea final : public BasicContainer, void mouseWheelMovedDown(MouseEvent& event) override final; - bool isSelectable() const override final; + bool isSelectable() const noexcept2 override final A_WARN_UNUSED; protected: enum BUTTON_DIR -- cgit v1.2.3-70-g09d2