diff options
Diffstat (limited to '3rdparty/sol2/sol/optional_implementation.hpp')
-rw-r--r-- | 3rdparty/sol2/sol/optional_implementation.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/sol2/sol/optional_implementation.hpp b/3rdparty/sol2/sol/optional_implementation.hpp index 374b80e7c36..d7c5a1ecb2e 100644 --- a/3rdparty/sol2/sol/optional_implementation.hpp +++ b/3rdparty/sol2/sol/optional_implementation.hpp @@ -636,7 +636,7 @@ namespace sol { #ifdef SOL_NO_EXCEPTIONS // we can abort here // but the others are constexpr, so we can't... - : (std::abort(), *(T*)nullptr) + : (std::abort(), *(T*)nullptr); #else : (throw bad_optional_access("bad optional access"), contained_val()); #endif |