summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.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/widgets/setupitem.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index c7bea7af7..130883886 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -74,7 +74,7 @@ class SetupItem notfinal : public ActionListener,
void setWidget(Widget *widget)
{ mWidget = widget; }
- Widget *getWidget() const A_WARN_UNUSED
+ Widget *getWidget() const noexcept2 A_WARN_UNUSED
{ return mWidget; }
Configuration *getConfig() const RETURNS_NONNULL A_WARN_UNUSED;
@@ -93,20 +93,20 @@ class SetupItem notfinal : public ActionListener,
virtual void externalUnloaded(const std::string &eventName) A_CONST;
- MainConfig isMainConfig() const A_WARN_UNUSED
+ MainConfig isMainConfig() const noexcept2 A_WARN_UNUSED
{ return mMainConfig; }
void fixFirstItemSize(Widget *const widget);
virtual void rereadValue();
- void setValue(const std::string &str)
+ void setValue(const std::string &str) noexcept2
{ mValue = str; }
- std::string getValue() const
+ std::string getValue() const noexcept2
{ return mValue; }
- std::string getEventName() const
+ std::string getEventName() const noexcept2
{ return mEventName; }
protected: