summaryrefslogtreecommitdiff
path: root/asn.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 /asn.h
parent5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff)
downloadcryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'asn.h')
-rw-r--r--asn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn.h b/asn.h
index f05209ec..c3d852ed 100644
--- a/asn.h
+++ b/asn.h
@@ -220,7 +220,7 @@ public:
//! \param attachment a BufferedTrasformation to attach to this object
//! \param nObjects
//! \param flags bitwise OR of EncodedObjectFilter::Flag
- EncodedObjectFilter(BufferedTransformation *attachment = NULL, unsigned int nObjects = 1, word32 flags = 0);
+ EncodedObjectFilter(BufferedTransformation *attachment = NULLPTR, unsigned int nObjects = 1, word32 flags = 0);
//! \brief Input a byte buffer for processing
//! \param inString the byte buffer to process
@@ -361,7 +361,7 @@ public:
//! \param out BufferedTransformation object
void DEREncode(BufferedTransformation &out)
{
- if (this->get() != NULL)
+ if (this->get() != NULLPTR)
this->get()->DEREncode(out);
}
};