From e9ecce579e116629db3207d50c21c6418535f618 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 13 Sep 2010 23:01:28 +0000 Subject: Accidental overload of a required function in the client code. --- src/client.cpp | 6 +----- src/client.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src') 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 ) return qbRead.peek( pData, nBytes, nOffset ); } -void Bu::Client::seek( int nBytes ) -{ - return qbRead.seek( nBytes ); -} - long Bu::Client::getInputSize() { return qbRead.getSize(); @@ -243,6 +238,7 @@ long Bu::Client::tell() void Bu::Client::seek( long offset ) { + return qbRead.seek( offset ); } void 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 size_t write( uint64_t nData ); size_t read( void *pData, size_t nBytes ); size_t peek( void *pData, int nBytes, int nOffset=0 ); - void seek( int nBytes ); +// void seek( int nBytes ); long getInputSize(); long getOutputSize(); -- cgit v1.2.3