summaryrefslogtreecommitdiff
path: root/simple.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
commit4afd858ae4974f82f9997b9184bc3d8d71d29b6e (patch)
treebe3960f1424e79719ea9c5f6152df003bc1c44f3 /simple.h
parent0f5ff1a06380139d0e93ba7cda3923d2c41cd866 (diff)
downloadcryptopp-git-4afd858ae4974f82f9997b9184bc3d8d71d29b6e.tar.gz
port to Borland C++Builder 2006
Diffstat (limited to 'simple.h')
-rw-r--r--simple.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/simple.h b/simple.h
index 1710cf50..a37c6d16 100644
--- a/simple.h
+++ b/simple.h
@@ -199,17 +199,7 @@ protected:
//! A BufferedTransformation that doesn't produce any retrievable output
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Sink : public BufferedTransformation
{
-protected:
- // make these functions protected to help prevent unintentional calls to them
- BufferedTransformation::Get;
- BufferedTransformation::Peek;
- BufferedTransformation::TransferTo;
- BufferedTransformation::CopyTo;
- BufferedTransformation::CopyRangeTo;
- BufferedTransformation::TransferMessagesTo;
- BufferedTransformation::CopyMessagesTo;
- BufferedTransformation::TransferAllTo;
- BufferedTransformation::CopyAllTo;
+public:
size_t TransferTo2(BufferedTransformation &target, lword &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true)
{transferBytes = 0; return 0;}
size_t CopyRangeTo2(BufferedTransformation &target, lword &begin, lword end=LWORD_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const