summaryrefslogtreecommitdiff
path: root/cryptlib.cpp
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 /cryptlib.cpp
parent5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff)
downloadcryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r--cryptlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptlib.cpp b/cryptlib.cpp
index dc6e2b33..7942ea25 100644
--- a/cryptlib.cpp
+++ b/cryptlib.cpp
@@ -163,7 +163,7 @@ const byte * SimpleKeyingInterface::GetIVAndThrowIfInvalid(const NameValuePairs
{
ThrowIfResynchronizable();
size = 0;
- return NULL;
+ return NULLPTR;
}
}
@@ -392,7 +392,7 @@ public:
void Shuffle (IT begin, IT end) {}
private:
- Clonable* Clone () const { return NULL; }
+ Clonable* Clone () const { return NULLPTR; }
#endif
};