diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2004-09-02 18:27:21 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2004-09-02 18:27:21 +0000 |
commit | f35539a72aa43a56e6ee10d94bc62581f66e6a93 (patch) | |
tree | 44cf068c2970fb338e7e70c7c0e21ed8618f7970 /include/cppunit | |
parent | 87051183eea0f573bd4f3521446d7eb4da4622be (diff) | |
download | cppunit-f35539a72aa43a56e6ee10d94bc62581f66e6a93.tar.gz |
Added missing operator <<( const char
added missing operator <<( const char * )
Diffstat (limited to 'include/cppunit')
-rw-r--r-- | include/cppunit/portability/Stream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cppunit/portability/Stream.h b/include/cppunit/portability/Stream.h index 773fdea..f7e4f8c 100644 --- a/include/cppunit/portability/Stream.h +++ b/include/cppunit/portability/Stream.h @@ -194,6 +194,11 @@ public: return write( buffer ); } + OStream &operator <<( const char *v ) + { + return write( v ? v : "NULL" ); + } + OStream &operator <<( char c ) { char buffer[16]; |