aboutsummaryrefslogtreecommitdiff
path: root/gcc/selftest-diagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/selftest-diagnostic.h')
-rw-r--r--gcc/selftest-diagnostic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/selftest-diagnostic.h b/gcc/selftest-diagnostic.h
index c8f67a0..4a43310 100644
--- a/gcc/selftest-diagnostic.h
+++ b/gcc/selftest-diagnostic.h
@@ -40,7 +40,7 @@ class test_diagnostic_context : public diagnostic_context
real filename (to avoid printing the names of tempfiles). */
static void
start_span_cb (const diagnostic_location_print_policy &,
- pretty_printer *,
+ to_text &sink,
expanded_location exploc);
/* Report a diagnostic to this context. For a selftest, this