From 951b821272bf67e1fbc5a6c8da67994d7da3ea21 Mon Sep 17 00:00:00 2001 From: Anand Aiyer Date: Sun, 13 Nov 2016 11:22:54 +0530 Subject: [PATCH] missing ';' when SOL_NO_EXCEPTIONS is enabled --- sol/optional_implementation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/optional_implementation.hpp b/sol/optional_implementation.hpp index 374b80e7..d7c5a1ec 100644 --- a/sol/optional_implementation.hpp +++ b/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