From 51f9aa16cbdd78c0b31483df26d0f7e81376f974 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Jan 2008 16:44:10 +0000 Subject: Added a new helper to the Stream classes, a write function that takes a single Bu::FString reference as a parameter. Unfortunately you need to remember to add "using Stream::write;" to each child class so they can take advantage of it. Strange, no? Also, cleaned up a bunch of header files, I'm trying to move towards headers only including other headers that they absolutely need, otherwise just creating forward decleration sections at the top of each. --- src/membuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/membuf.h') diff --git a/src/membuf.h b/src/membuf.h index 1a2abe4..a8caa16 100644 --- a/src/membuf.h +++ b/src/membuf.h @@ -34,6 +34,7 @@ namespace Bu * of our bases for now. */ virtual size_t write( const void *pBuf, size_t nBytes ); + using Stream::write; virtual long tell(); virtual void seek( long offset ); virtual void setPos( long pos ); -- cgit v1.2.3