diff options
Diffstat (limited to 'gcc/analyzer/bounds-checking.cc')
-rw-r--r-- | gcc/analyzer/bounds-checking.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/analyzer/bounds-checking.cc b/gcc/analyzer/bounds-checking.cc index f49cf7c..583b5ab 100644 --- a/gcc/analyzer/bounds-checking.cc +++ b/gcc/analyzer/bounds-checking.cc @@ -163,7 +163,7 @@ protected: if (op.get_valid_bits ().empty_p ()) return; - if (const text_art::theme *theme = global_dc->m_diagrams.m_theme) + if (const text_art::theme *theme = global_dc->get_diagram_theme ()) { text_art::style_manager sm; text_art::canvas canvas (make_access_diagram (op, sm, *theme, logger)); @@ -177,7 +177,7 @@ protected: (canvas, /* Alt text. */ _("Diagram visualizing the predicted out-of-bounds access")); - diagnostic_emit_diagram (global_dc, diagram); + global_dc->emit_diagram (diagram); } } |