summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/sol/optional_implementation.hpp
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-11-15 22:21:07 -0600
committer cracyc <cracyc@users.noreply.github.com>2016-11-15 22:21:07 -0600
commita68d4239929802bca7131d4b97c2b8d149fbbcb9 (patch)
tree03a497191ccd83206e94c60aca635eb44d51c0f7 /3rdparty/sol2/sol/optional_implementation.hpp
parent4d533249fdf28d3a473426130a82e673b1b1d5ec (diff)
luaengine: use initializers (nw)
Diffstat (limited to '3rdparty/sol2/sol/optional_implementation.hpp')
-rw-r--r--3rdparty/sol2/sol/optional_implementation.hpp2
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