summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-19 22:29:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-19 22:29:45 +0300
commit4ce68c50a49c0c9391b37a17505313d834f93c22 (patch)
tree649e59106b62b541d7a81e8412922333b681b17f /src
parentda73354d0c3d9cf8507fe9d88a5e778fdbb7fa44 (diff)
downloadmv-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.gz
mv-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.bz2
mv-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.xz
mv-4ce68c50a49c0c9391b37a17505313d834f93c22.zip
Add support for noexcept in old compilers.
Diffstat (limited to 'src')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index f29068c4c..f05cef44a 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -39,6 +39,7 @@
#define final
#define override
#define constexpr
+#define noexcept
#define A_DELETE(func)
#define A_DELETE_COPY(func)
#else
@@ -49,6 +50,7 @@
#define final
#define override
#define constexpr
+#define noexcept
// #define A_DELETE
// #define A_DELETE_COPY
#endif