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/party.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/party.h') diff --git a/src/party.h b/src/party.h index 51cfc2f3b..9f2462ac8 100644 --- a/src/party.h +++ b/src/party.h @@ -37,10 +37,10 @@ class PartyMember final : public Avatar public: A_DELETE_COPY(PartyMember) - const Party *getParty() const A_WARN_UNUSED + const Party *getParty() const noexcept2 A_WARN_UNUSED { return mParty; } - bool getLeader() const A_WARN_UNUSED + bool getLeader() const noexcept2 A_WARN_UNUSED { return mLeader; } void setLeader(const bool leader) @@ -92,14 +92,14 @@ class Party final : public AvatarListModel * Get the name of the party. * @return returns name of the party */ - const std::string &getName() const A_WARN_UNUSED + const std::string &getName() const noexcept2 A_WARN_UNUSED { return mName; } /** * Get the id of the party. * @return Returns the id of the party */ - int16_t getId() const A_WARN_UNUSED + int16_t getId() const noexcept2 A_WARN_UNUSED { return mId; } /** @@ -135,7 +135,7 @@ class Party final : public AvatarListModel * Get whether user can invite users to this party. * @return Returns true if user can invite users */ - bool getInviteRights() const A_WARN_UNUSED + bool getInviteRights() const noexcept2 A_WARN_UNUSED { return mCanInviteUsers; } void setRights(const int16_t rights); -- cgit v1.2.3-60-g2f50