From 634a6bdcfccd8e3ea94708e396b70597e0ea66c0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 26 Jul 2013 03:24:35 +0000 Subject: Fixed some random whining issues, dropped extra char * formatter references, and fixed a null/integer issue in Bu::Hash --- src/stable/array.h | 2 +- src/stable/hash.h | 2 +- src/stable/list.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/stable') diff --git a/src/stable/array.h b/src/stable/array.h index 9dc718a..eff3ab2 100644 --- a/src/stable/array.h +++ b/src/stable/array.h @@ -659,7 +659,7 @@ namespace Bu }; class Formatter; - Formatter &operator<<( Formatter &rOut, char *sStr ); + Formatter &operator<<( Formatter &rOut, const char *sStr ); Formatter &operator<<( Formatter &rOut, signed char c ); template Formatter &operator<<( Formatter &f, const Bu::Array &a ) diff --git a/src/stable/hash.h b/src/stable/hash.h index aee6ded..9634238 100644 --- a/src/stable/hash.h +++ b/src/stable/hash.h @@ -835,7 +835,7 @@ namespace Bu iterator() : hsh( NULL ), - nPos( NULL ), + nPos( 0 ), bFinished( true ) { } diff --git a/src/stable/list.h b/src/stable/list.h index 07b18bf..5ab7117 100644 --- a/src/stable/list.h +++ b/src/stable/list.h @@ -992,7 +992,7 @@ namespace Bu }; class Formatter; - Formatter &operator<<( Formatter &rOut, char *sStr ); + Formatter &operator<<( Formatter &rOut, const char *sStr ); Formatter &operator<<( Formatter &rOut, signed char c ); template Formatter &operator<<( Formatter &f, const Bu::List &l ) -- cgit v1.2.3