diff options
Diffstat (limited to 'gcc/selftest-diagnostic.cc')
-rw-r--r-- | gcc/selftest-diagnostic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/selftest-diagnostic.cc b/gcc/selftest-diagnostic.cc index 1a10807..eeee2eb 100644 --- a/gcc/selftest-diagnostic.cc +++ b/gcc/selftest-diagnostic.cc @@ -58,11 +58,11 @@ test_diagnostic_context::~test_diagnostic_context () void test_diagnostic_context:: start_span_cb (const diagnostic_location_print_policy &loc_policy, - pretty_printer *pp, + to_text &sink, expanded_location exploc) { exploc.file = "FILENAME"; - default_diagnostic_start_span_fn (loc_policy, pp, exploc); + default_diagnostic_start_span_fn<to_text> (loc_policy, sink, exploc); } bool |