aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-diagnostic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-diagnostic.cc')
-rw-r--r--gcc/tree-diagnostic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-diagnostic.cc b/gcc/tree-diagnostic.cc
index 3761fc0..20183c8 100644
--- a/gcc/tree-diagnostic.cc
+++ b/gcc/tree-diagnostic.cc
@@ -110,7 +110,7 @@ default_tree_printer (pretty_printer *pp, text_info *text, const char *spec,
to the DIAGNOSTIC location. */
static void
-set_inlining_locations (diagnostics::context *,
+set_inlining_locations (const diagnostics::context &,
diagnostics::diagnostic_info *diagnostic)
{
location_t loc = diagnostic_location (diagnostic);