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/windows/whoisonline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/whoisonline.h') diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index b125bc655..b5aee4cf8 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -78,13 +78,13 @@ class WhoIsOnline final : public Window, void widgetResized(const Event &event) override final; - const std::set &getOnlinePlayers() const A_WARN_UNUSED + const std::set &getOnlinePlayers() const noexcept2 A_WARN_UNUSED { return mOnlinePlayers; } - const std::set &getOnlineNicks() const A_WARN_UNUSED + const std::set &getOnlineNicks() const noexcept2 A_WARN_UNUSED { return mOnlineNicks; } - void setAllowUpdate(const bool n) + void setAllowUpdate(const bool n) noexcept2 { mAllowUpdate = n; } void optionChanged(const std::string &name) override final; -- cgit v1.2.3-60-g2f50