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/windows/textselectdialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/textselectdialog.h') diff --git a/src/gui/windows/textselectdialog.h b/src/gui/windows/textselectdialog.h index 70da4ad5e..45d5fcc43 100644 --- a/src/gui/windows/textselectdialog.h +++ b/src/gui/windows/textselectdialog.h @@ -75,13 +75,13 @@ class TextSelectDialog notfinal : public Window, void addText(const std::string &text); - std::string getText() const A_WARN_UNUSED + std::string getText() const noexcept2 A_WARN_UNUSED { return mText; } - void setTag(const int tag) + void setTag(const int tag) noexcept2 { mTag = tag; } - int getTag() const A_WARN_UNUSED + int getTag() const noexcept2 A_WARN_UNUSED { return mTag; } protected: -- cgit v1.2.3-60-g2f50