summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Globals.h b/src/Globals.h
index f7116f8e0..777f8ca3d 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -52,9 +52,9 @@
#define NORETURN __declspec(noreturn)
#if (_MSC_VER < 1910)
// MSVC 2013 (and possibly 2015?) have no idea about "noexcept(false)"
- #define NO_THROW throw(...)
+ #define CAN_THROW throw(...)
#else
- #define NO_THROW noexcept(false)
+ #define CAN_THROW noexcept(false)
#endif
// Use non-standard defines in <cmath>
@@ -118,7 +118,7 @@
#endif
#define NORETURN __attribute((__noreturn__))
- #define NO_THROW noexcept(false)
+ #define CAN_THROW noexcept(false)
#else