diff options
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r-- | bpkg/diagnostics.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index 9dcd9cb..79dc384 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -133,7 +133,7 @@ namespace bpkg thunk (const diag_frame& f, const butl::diag_record& r) { static_cast<const diag_frame_impl&> (f).func_ ( - static_cast<const diag_record&> (r)); + const_cast<diag_record&> (static_cast<const diag_record&> (r))); } const F func_; |