summaryrefslogtreecommitdiff
path: root/src/gui/onlineplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/gui/onlineplayer.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmanaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/gui/onlineplayer.h')
-rw-r--r--src/gui/onlineplayer.h12
1 files changed, 6 insertions, 6 deletions
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: