summaryrefslogtreecommitdiff
path: root/zdeflate.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
committerJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
commit5efb019d8bdc593b3c1a0b57d615b170c7dab02a (patch)
treee2c10e737542fd13ea50b58480e0791bbc455e47 /zdeflate.h
parent5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff)
downloadcryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'zdeflate.h')
-rw-r--r--zdeflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zdeflate.h b/zdeflate.h
index 07a10e60..e9c51b1c 100644
--- a/zdeflate.h
+++ b/zdeflate.h
@@ -104,12 +104,12 @@ public:
//! \details detectUncompressible makes it faster to process uncompressible files, but
//! if a file has both compressible and uncompressible parts, it may fail to compress
//! some of the compressible parts.
- Deflator(BufferedTransformation *attachment=NULL, int deflateLevel=DEFAULT_DEFLATE_LEVEL, int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE, bool detectUncompressible=true);
+ Deflator(BufferedTransformation *attachment=NULLPTR, int deflateLevel=DEFAULT_DEFLATE_LEVEL, int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE, bool detectUncompressible=true);
//! \brief Construct a Deflator compressor
//! \param parameters a set of NameValuePairs to initialize this object
//! \param attachment an attached transformation
//! \details Possible parameter names: Log2WindowSize, DeflateLevel, DetectUncompressible
- Deflator(const NameValuePairs &parameters, BufferedTransformation *attachment=NULL);
+ Deflator(const NameValuePairs &parameters, BufferedTransformation *attachment=NULLPTR);
//! \brief Sets the deflation level
//! \param deflateLevel the level of deflation