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/shopwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/shopwindow.h') diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h index 502e5c526..0a98da353 100644 --- a/src/gui/windows/shopwindow.h +++ b/src/gui/windows/shopwindow.h @@ -120,7 +120,7 @@ class ShopWindow final : public Window, void setAcceptPlayer(const std::string &name) { mAcceptPlayer = name; } - const std::string &getAcceptPlayer() const A_WARN_UNUSED + const std::string &getAcceptPlayer() const noexcept2 A_WARN_UNUSED { return mAcceptPlayer; } void announce(ShopItems *const list, const int mode); -- cgit v1.2.3-60-g2f50