diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
commit | bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch) | |
tree | 4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/gui/windows/whoisonline.h | |
parent | 67638eeec5267977940dce29c5a94ce4d093ed69 (diff) | |
download | mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2 mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip |
Add noexcept in some files.
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r-- | src/gui/windows/whoisonline.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<OnlinePlayer*> &getOnlinePlayers() const A_WARN_UNUSED + const std::set<OnlinePlayer*> &getOnlinePlayers() const noexcept2 A_WARN_UNUSED { return mOnlinePlayers; } - const std::set<std::string> &getOnlineNicks() const A_WARN_UNUSED + const std::set<std::string> &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; |