From de003dc77165ec39fc36cb32fab499c45fbd227f Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sun, 10 May 2009 22:38:23 +0200 Subject: [PATCH] Correctly forward-declare cl_print_* helpers. cl_print_flags and friends were declared class in cln/io.h but class elsewhere. Some compilers didn't like it. --- include/cln/io.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/cln/io.h b/include/cln/io.h index 43a5f10..361c927 100644 --- a/include/cln/io.h +++ b/include/cln/io.h @@ -62,11 +62,11 @@ inline void fprinthexadecimal (std::ostream& stream, int x) } -class cl_print_flags; -class cl_print_number_flags; -class cl_print_real_flags; -class cl_print_rational_flags; -class cl_print_float_flags; +struct cl_print_flags; +struct cl_print_number_flags; +struct cl_print_real_flags; +struct cl_print_rational_flags; +struct cl_print_float_flags; class cl_prin_globals_init_helper {