diff options
Diffstat (limited to 'bbot/diagnostics.hxx')
-rw-r--r-- | bbot/diagnostics.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bbot/diagnostics.hxx b/bbot/diagnostics.hxx index 63441ed..b98e7c5 100644 --- a/bbot/diagnostics.hxx +++ b/bbot/diagnostics.hxx @@ -1,10 +1,10 @@ // file : bbot/diagnostics.hxx -*- C++ -*- -// license : TBC; see accompanying LICENSE file +// license : MIT; see accompanying LICENSE file #ifndef BBOT_DIAGNOSTICS_HXX #define BBOT_DIAGNOSTICS_HXX -#include <libbutl/diagnostics.mxx> +#include <libbutl/diagnostics.hxx> #include <bbot/types.hxx> // Note: not <bbot/utility>. @@ -134,9 +134,9 @@ namespace bbot indent, nullptr, data, - [](const diag_record& r) + [](const diag_record& r, butl::diag_writer* w) { - r.flush (); + r.flush (w); throw failed (); }) {} |