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/widgets/tabs/chat/chattab.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/widgets/tabs/chat/chattab.h') 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); -- cgit v1.2.3-70-g09d2