aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2019-06-12 17:11:53 -0700
committerMike Buland <mbuland@penny-arcade.com>2019-06-12 17:11:53 -0700
commitca3f5b64d656a86ea411572737be7facd067fd62 (patch)
tree46bd44ce5e530ca3cdb3acbce98bdf6cac9224b6
parentfba48701e8f7c1e08e0ed16cceba6bf0f22a7481 (diff)
downloadlibbu++-ca3f5b64d656a86ea411572737be7facd067fd62.tar.gz
libbu++-ca3f5b64d656a86ea411572737be7facd067fd62.tar.bz2
libbu++-ca3f5b64d656a86ea411572737be7facd067fd62.tar.xz
libbu++-ca3f5b64d656a86ea411572737be7facd067fd62.zip
List formatting fix.
-rw-r--r--src/stable/list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stable/list.h b/src/stable/list.h
index 1f61adf..9381297 100644
--- a/src/stable/list.h
+++ b/src/stable/list.h
@@ -1018,14 +1018,14 @@ namespace Bu
1018 template<typename a, typename b, typename c> 1018 template<typename a, typename b, typename c>
1019 Formatter &operator<<( Formatter &f, const Bu::List<a,b,c> &l ) 1019 Formatter &operator<<( Formatter &f, const Bu::List<a,b,c> &l )
1020 { 1020 {
1021 f << '['; 1021 f << "[";
1022 for( typename Bu::List<a,b,c>::const_iterator i = l.begin(); i; i++ ) 1022 for( typename Bu::List<a,b,c>::const_iterator i = l.begin(); i; i++ )
1023 { 1023 {
1024 if( i != l.begin() ) 1024 if( i != l.begin() )
1025 f << ", "; 1025 f << ", ";
1026 f << *i; 1026 f << *i;
1027 } 1027 }
1028 f << ']'; 1028 f << "]";
1029 1029
1030 return f; 1030 return f;
1031 } 1031 }