diff options
Diffstat (limited to 'boost/context/detail/exception.hpp')
-rw-r--r-- | boost/context/detail/exception.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/context/detail/exception.hpp b/boost/context/detail/exception.hpp index 8ffff6780a..14b4ab5217 100644 --- a/boost/context/detail/exception.hpp +++ b/boost/context/detail/exception.hpp @@ -20,7 +20,9 @@ namespace context { namespace detail { struct forced_unwind { - fcontext_t fctx; + fcontext_t fctx{ nullptr }; + + forced_unwind() = default; forced_unwind( fcontext_t fctx_) : fctx( fctx_) { |