Chrono: Added format function to get the formatter of a reporter

[SVN r74622]
This commit is contained in:
Vicente J. Botet Escriba 2011-10-01 16:45:25 +00:00
parent e99b8e6920
commit 311f260cc3

View File

@ -79,11 +79,17 @@ namespace boost
formatter_(*this, ec);
reported_ = true;
}
bool reported() const
{
return reported_;
}
formatter_type& format()
{
return formatter_;
}
protected:
formatter_type formatter_;
bool reported_;