diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
commit | bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch) | |
tree | 4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/resources/modinfo.h | |
parent | 67638eeec5267977940dce29c5a94ce4d093ed69 (diff) | |
download | manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2 manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip |
Add noexcept in some files.
Diffstat (limited to 'src/resources/modinfo.h')
-rw-r--r-- | src/resources/modinfo.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/resources/modinfo.h b/src/resources/modinfo.h index 1474f3484..8c006e980 100644 --- a/src/resources/modinfo.h +++ b/src/resources/modinfo.h @@ -33,28 +33,28 @@ class ModInfo final A_DELETE_COPY(ModInfo) - void setName(const std::string &name) + void setName(const std::string &name) noexcept2 { mName = name; } - const std::string &getName() const A_WARN_UNUSED + const std::string &getName() const noexcept2 A_WARN_UNUSED { return mName; } - void setDescription(const std::string &text) + void setDescription(const std::string &text) noexcept2 { mDescription = text; } - const std::string &getDescription() const A_WARN_UNUSED + const std::string &getDescription() const noexcept2 A_WARN_UNUSED { return mDescription; } - void setHelp(const std::string &text) + void setHelp(const std::string &text) noexcept2 { mHelp = text; } - const std::string &getHelp() const A_WARN_UNUSED + const std::string &getHelp() const noexcept2 A_WARN_UNUSED { return mHelp; } void setLocalDir(const std::string &text) { mLocalDir = text; } - const std::string &getLocalDir() const A_WARN_UNUSED + const std::string &getLocalDir() const noexcept2 A_WARN_UNUSED { return mLocalDir; } private: |