diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-19 22:29:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-19 22:29:45 +0300 |
commit | 4ce68c50a49c0c9391b37a17505313d834f93c22 (patch) | |
tree | 649e59106b62b541d7a81e8412922333b681b17f /src | |
parent | da73354d0c3d9cf8507fe9d88a5e778fdbb7fa44 (diff) | |
download | manaplus-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.gz manaplus-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.bz2 manaplus-4ce68c50a49c0c9391b37a17505313d834f93c22.tar.xz manaplus-4ce68c50a49c0c9391b37a17505313d834f93c22.zip |
Add support for noexcept in old compilers.
Diffstat (limited to 'src')
-rw-r--r-- | src/localconsts.h | 2 |
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 |