aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-07 12:03:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-08 10:39:26 +0200
commit2c140c400cf9e3a93aabaeca8abfa1009c40bf19 (patch)
treed5f0193f056737184f4154e0acea6535258f2386
parent6b06c5dc0f6a8e33ca0fbe98fd36522ca6f3432d (diff)
Adjust to diagnostics epilogue interface change
-rw-r--r--libbuild2/diagnostics.hxx4
1 files changed, 2 insertions, 2 deletions
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,