summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h14
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index b1a988a8e..c14f5dafb 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -138,7 +138,7 @@ class ChatTab notfinal : public Tab
/**
* Returns type of the being.
*/
- ChatTabTypeT getType() const A_WARN_UNUSED
+ ChatTabTypeT getType() const noexcept2 A_WARN_UNUSED
{ return mType; }
void saveToLogFile(const std::string &msg) const;
@@ -151,22 +151,22 @@ class ChatTab notfinal : public Tab
void loadFromLogFile(const std::string &name);
- bool getAllowHighlight() const A_WARN_UNUSED
+ bool getAllowHighlight() const noexcept2 A_WARN_UNUSED
{ return mAllowHightlight; }
- void setAllowHighlight(const bool n)
+ void setAllowHighlight(const bool n) noexcept2
{ mAllowHightlight = n; }
- bool getRemoveNames() const A_WARN_UNUSED
+ bool getRemoveNames() const noexcept2 A_WARN_UNUSED
{ return mRemoveNames; }
- void setRemoveNames(const bool n)
+ void setRemoveNames(const bool n) noexcept2
{ mRemoveNames = n; }
- bool getNoAway() const A_WARN_UNUSED
+ bool getNoAway() const noexcept2 A_WARN_UNUSED
{ return mNoAway; }
- void setNoAway(const bool n)
+ void setNoAway(const bool n) noexcept2
{ mNoAway = n; }
void addNewRow(std::string &line);
diff --git a/src/gui/widgets/tabs/chat/whispertab.h b/src/gui/widgets/tabs/chat/whispertab.h
index f298bf164..58fc1515d 100644
--- a/src/gui/widgets/tabs/chat/whispertab.h
+++ b/src/gui/widgets/tabs/chat/whispertab.h
@@ -33,7 +33,7 @@ class WhisperTab final : public ChatTab
public:
A_DELETE_COPY(WhisperTab)
- const std::string &getNick() const A_WARN_UNUSED
+ const std::string &getNick() const noexcept2 A_WARN_UNUSED
{ return mNick; }
bool handleCommand(const std::string &restrict type,