summaryrefslogtreecommitdiff
path: root/src/gui/models/keylistmodel.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/gui/models/keylistmodel.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmanaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/gui/models/keylistmodel.h')
-rw-r--r--src/gui/models/keylistmodel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/models/keylistmodel.h b/src/gui/models/keylistmodel.h
index 101307f30..ee21422f3 100644
--- a/src/gui/models/keylistmodel.h
+++ b/src/gui/models/keylistmodel.h
@@ -67,16 +67,16 @@ class KeyListModel final : public ListModel
void setElementAt(const int i, const std::string &caption)
{ setupActionData[mSelectedData][i].text = caption; }
- void setSize(const int size)
+ void setSize(const int size) noexcept2
{ mSize = size; }
- void setDataNum(const int num)
+ void setDataNum(const int num) noexcept2
{ mDataNum = num; }
- void setSelectedData(const int i)
+ void setSelectedData(const int i) noexcept2
{ mSelectedData = i; }
- int getSelectedData() const A_WARN_UNUSED
+ int getSelectedData() const noexcept2 A_WARN_UNUSED
{ return mSelectedData; }
private: