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/models/keylistmodel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/models/keylistmodel.h') 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: -- cgit v1.2.3-60-g2f50