aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cxx-pretty-print.h')
-rw-r--r--gcc/cp/cxx-pretty-print.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h
index aba3e84..347811f 100644
--- a/gcc/cp/cxx-pretty-print.h
+++ b/gcc/cp/cxx-pretty-print.h
@@ -29,8 +29,9 @@ enum cxx_pretty_printer_flags
pp_cxx_flag_default_argument = 1 << pp_c_flag_last_bit
};
-struct cxx_pretty_printer : c_pretty_printer
+class cxx_pretty_printer : public c_pretty_printer
{
+public:
cxx_pretty_printer ();
void constant (tree);