diff --git a/include/boost/leaf/expect.hpp b/include/boost/leaf/expect.hpp index f579e30..8ef2c42 100644 --- a/include/boost/leaf/expect.hpp +++ b/include/boost/leaf/expect.hpp @@ -9,6 +9,7 @@ #include #include +#include namespace boost @@ -72,6 +73,7 @@ boost } ~available() noexcept { + std::cout << this << ": " << reset_all_ << ", " << has_current_error() << std::endl; if( reset_all_ && !has_current_error() ) leaf_detail::tl_slot_base::reset_all(); }