summaryrefslogtreecommitdiff
path: root/gzip.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-04-08 01:28:31 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-04-08 01:28:31 +0000
commit2bb4ca7209a6b7ed86fd9c90a35c1b29df372c38 (patch)
tree158c70efa83fb2a830943cc02b9040dcf20bf351 /gzip.h
parent28a05b7a85c837025b0de2e685dfeaf0075cccf3 (diff)
downloadcryptopp-2bb4ca7209a6b7ed86fd9c90a35c1b29df372c38.tar.gz
add detection of uncompressibilty
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@156 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'gzip.h')
-rw-r--r--gzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gzip.h b/gzip.h
index 134f694..211d085 100644
--- a/gzip.h
+++ b/gzip.h
@@ -11,8 +11,8 @@ NAMESPACE_BEGIN(CryptoPP)
class Gzip : public Deflator
{
public:
- Gzip(BufferedTransformation *attachment=NULL, unsigned int deflateLevel=DEFAULT_DEFLATE_LEVEL, unsigned int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE)
- : Deflator(attachment, deflateLevel, log2WindowSize) {}
+ Gzip(BufferedTransformation *attachment=NULL, unsigned int deflateLevel=DEFAULT_DEFLATE_LEVEL, unsigned int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE, bool detectUncompressible=true)
+ : Deflator(attachment, deflateLevel, log2WindowSize, detectUncompressible) {}
Gzip(const NameValuePairs &parameters, BufferedTransformation *attachment=NULL)
: Deflator(parameters, attachment) {}