diff options
author | Mattes D <github@xoft.cz> | 2017-06-22 21:10:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-22 21:10:41 +0200 |
commit | ea6660721bf420bb7656cd6c0d8aa04230ccc41e (patch) | |
tree | 957bf9c81ea32772c9f5692b7e272436f22ebd67 /src/Globals.h | |
parent | Fix shears (and vines) (diff) | |
download | cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.gz cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.bz2 cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.lz cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.xz cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.zst cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.zip |
Diffstat (limited to 'src/Globals.h')
-rw-r--r-- | src/Globals.h | 6 |
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 |