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/onlineplayer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/onlineplayer.h') diff --git a/src/gui/onlineplayer.h b/src/gui/onlineplayer.h index 744e2d070..cbc58be8f 100644 --- a/src/gui/onlineplayer.h +++ b/src/gui/onlineplayer.h @@ -48,27 +48,27 @@ class OnlinePlayer final A_DELETE_COPY(OnlinePlayer) - const std::string getNick() const A_WARN_UNUSED + const std::string getNick() const noexcept2 A_WARN_UNUSED { return mNick; } - unsigned char getStaus() const A_WARN_UNUSED + unsigned char getStaus() const noexcept2 A_WARN_UNUSED { return mStatus; } void setIsGM(const bool b) { mIsGM = b; } - char getVersion() const A_WARN_UNUSED + char getVersion() const noexcept2 A_WARN_UNUSED { return mVersion; } - char getLevel() const A_WARN_UNUSED + char getLevel() const noexcept2 A_WARN_UNUSED { return mLevel; } - const std::string getText() const A_WARN_UNUSED + const std::string getText() const noexcept2 A_WARN_UNUSED { return mText; } void setText(std::string str); - void setLevel(const char level) + void setLevel(const char level) noexcept2 { mLevel = level; } private: -- cgit v1.2.3-70-g09d2