From c3bff3fb32dbf457ee5e9817153811d3f63b8fbe Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 4 Sep 2009 16:15:38 +0000 Subject: Wow, I should check this in the other containers. I should have known better, but I made the Formatter << operator for Lists use the List with the value as the template parameter, and no others, so if you actually tune the list, you can't format it anymore. This has been fixed. --- src/list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/list.h b/src/list.h index 785a95c..12b50e5 100644 --- a/src/list.h +++ b/src/list.h @@ -766,11 +766,11 @@ namespace Bu class Formatter; Formatter &operator<<( Formatter &rOut, char *sStr ); Formatter &operator<<( Formatter &rOut, signed char c ); - template - Formatter &operator<<( Formatter &f, const Bu::List &l ) + template + Formatter &operator<<( Formatter &f, const Bu::List &l ) { f << '['; - for( typename Bu::List::const_iterator i = l.begin(); i; i++ ) + for( typename Bu::List::const_iterator i = l.begin(); i; i++ ) { if( i != l.begin() ) f << ", "; -- cgit v1.2.3