summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-09-13 23:01:28 +0000
committerMike Buland <eichlan@xagasoft.com>2010-09-13 23:01:28 +0000
commite9ecce579e116629db3207d50c21c6418535f618 (patch)
tree284b0c709e1c9d037e1f69d74ddd064b1e0edb2f
parent3e6f63e3135cb66c1e04232bf7401afeac06949a (diff)
downloadlibbu++-e9ecce579e116629db3207d50c21c6418535f618.tar.gz
libbu++-e9ecce579e116629db3207d50c21c6418535f618.tar.bz2
libbu++-e9ecce579e116629db3207d50c21c6418535f618.tar.xz
libbu++-e9ecce579e116629db3207d50c21c6418535f618.zip
Accidental overload of a required function in the client code.
-rw-r--r--src/client.cpp6
-rw-r--r--src/client.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 789cda4..e6f60e9 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -185,11 +185,6 @@ size_t Bu::Client::peek( void *pData, int nBytes, int nOffset )
185 return qbRead.peek( pData, nBytes, nOffset ); 185 return qbRead.peek( pData, nBytes, nOffset );
186} 186}
187 187
188void Bu::Client::seek( int nBytes )
189{
190 return qbRead.seek( nBytes );
191}
192
193long Bu::Client::getInputSize() 188long Bu::Client::getInputSize()
194{ 189{
195 return qbRead.getSize(); 190 return qbRead.getSize();
@@ -243,6 +238,7 @@ long Bu::Client::tell()
243 238
244void Bu::Client::seek( long offset ) 239void Bu::Client::seek( long offset )
245{ 240{
241 return qbRead.seek( offset );
246} 242}
247 243
248void Bu::Client::setPos( long pos ) 244void Bu::Client::setPos( long pos )
diff --git a/src/client.h b/src/client.h
index 105d48f..f336524 100644
--- a/src/client.h
+++ b/src/client.h
@@ -46,7 +46,7 @@ namespace Bu
46 size_t write( uint64_t nData ); 46 size_t write( uint64_t nData );
47 size_t read( void *pData, size_t nBytes ); 47 size_t read( void *pData, size_t nBytes );
48 size_t peek( void *pData, int nBytes, int nOffset=0 ); 48 size_t peek( void *pData, int nBytes, int nOffset=0 );
49 void seek( int nBytes ); 49// void seek( int nBytes );
50 long getInputSize(); 50 long getInputSize();
51 long getOutputSize(); 51 long getOutputSize();
52 52