From 085c5b2d0b70a2ff3d9ccf8616a7bdf4abbc957f Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 14 Dec 2006 11:41:39 +0000 Subject: port to Borland C++Builder 2006 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@260 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- simple.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'simple.h') diff --git a/simple.h b/simple.h index 1710cf5..a37c6d1 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 -- cgit v1.2.1