summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.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/browserbox.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/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index c578c2633..e863a2be8 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -166,36 +166,36 @@ class BrowserBox final : public Widget,
typedef std::list<std::string> TextRows;
- TextRows &getRows() A_WARN_UNUSED
+ TextRows &getRows() noexcept2 A_WARN_UNUSED
{ return mTextRows; }
- bool hasRows() const A_WARN_UNUSED
+ bool hasRows() const noexcept2 A_WARN_UNUSED
{ return !mTextRows.empty(); }
- void setAlwaysUpdate(const bool n)
+ void setAlwaysUpdate(const bool n) noexcept2
{ mAlwaysUpdate = n; }
- void setProcessVars(const bool n)
+ void setProcessVars(const bool n) noexcept2
{ mProcessVars = n; }
- void setEnableImages(const bool n)
+ void setEnableImages(const bool n) noexcept2
{ mEnableImages = n; }
- void setEnableKeys(const bool n)
+ void setEnableKeys(const bool n) noexcept2
{ mEnableKeys = n; }
- void setEnableTabs(const bool n)
+ void setEnableTabs(const bool n) noexcept2
{ mEnableTabs = n; }
std::string getTextAtPos(const int x, const int y) const A_WARN_UNUSED;
- int getPadding() const A_WARN_UNUSED
+ int getPadding() const noexcept2 A_WARN_UNUSED
{ return mPadding; }
void setForegroundColorAll(const Color &color1,
const Color &color2);
- unsigned int getDataWidth() const A_WARN_UNUSED
+ unsigned int getDataWidth() const noexcept2 A_WARN_UNUSED
{ return mDataWidth; }
void moveSelectionUp();