removed ostream support from AutoDetectStream

This commit is contained in:
Guenter Obiltschnig
2017-02-11 23:59:26 +01:00
parent 0d5c454b9c
commit 03ddc4e20f
2 changed files with 0 additions and 34 deletions

View File

@@ -30,7 +30,6 @@ namespace Zip {
AutoDetectStreamBuf::AutoDetectStreamBuf(std::istream& in, const std::string& pre, const std::string& post, bool reposition, Poco::UInt32 start):
Poco::BufferedStreamBuf(STREAM_BUFFER_SIZE, std::ios::in),
_pIstr(&in),
_pOstr(0),
_eofDetected(false),
_matchCnt(0),
_prefix(pre),
@@ -42,21 +41,6 @@ AutoDetectStreamBuf::AutoDetectStreamBuf(std::istream& in, const std::string& pr
}
AutoDetectStreamBuf::AutoDetectStreamBuf(std::ostream& out):
Poco::BufferedStreamBuf(STREAM_BUFFER_SIZE, std::ios::out),
_pIstr(0),
_pOstr(&out),
_eofDetected(false),
_matchCnt(0),
_prefix(),
_postfix(),
_reposition(false),
_start(0u),
_length(0)
{
}
AutoDetectStreamBuf::~AutoDetectStreamBuf()
{
}
@@ -178,12 +162,6 @@ AutoDetectIOS::AutoDetectIOS(std::istream& istr, const std::string& pre, const s
}
AutoDetectIOS::AutoDetectIOS(std::ostream& ostr): _buf(ostr)
{
poco_ios_init(&_buf);
}
AutoDetectIOS::~AutoDetectIOS()
{
}