From 2c140c400cf9e3a93aabaeca8abfa1009c40bf19 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Nov 2022 12:03:16 +0200 Subject: Adjust to diagnostics epilogue interface change --- libbuild2/diagnostics.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2') diff --git a/libbuild2/diagnostics.hxx b/libbuild2/diagnostics.hxx index 17996b1..48dfe36 100644 --- a/libbuild2/diagnostics.hxx +++ b/libbuild2/diagnostics.hxx @@ -661,10 +661,10 @@ namespace build2 const void* data = nullptr) : basic_mark_base (type, data, - [](const butl::diag_record& r) + [](const butl::diag_record& r, butl::diag_writer* w) { diag_frame::apply (r); - r.flush (); + r.flush (w); throw failed (); }, &stream_verb_map, -- cgit v1.1