2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-24 18:02:22 +00:00

travis test

This commit is contained in:
Emil Dotchevski
2018-09-18 10:27:50 -07:00
parent a533f235ad
commit 438e23ca33

View File

@@ -9,6 +9,7 @@
#include <boost/leaf/detail/tl_slot.hpp>
#include <boost/leaf/has_current_error.hpp>
#include <iostream>
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();
}