diff options
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 5b2326c..10ecbfd 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -319,9 +319,9 @@ typeid_ok_p (void) { gcc_rich_location richloc (input_location); maybe_add_include_fixit (&richloc, "<typeinfo>"); - error_at_rich_loc (&richloc, - "must %<#include <typeinfo>%> before using" - " %<typeid%>"); + error_at (&richloc, + "must %<#include <typeinfo>%> before using" + " %<typeid%>"); return false; } |