summaryrefslogtreecommitdiff
path: root/allocate.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-04-15 16:45:02 -0400
committerGitHub <noreply@github.com>2023-04-15 16:45:02 -0400
commitf5f63850f9a5521e45de3cc45be61309a2e71ab2 (patch)
treed9ec904ebd511ae673e89790a407f0cdcf0b9bbc /allocate.cpp
parent358d0cfecd593d55160df38e133b9450aaf1cd59 (diff)
downloadcryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'allocate.cpp')
-rw-r--r--allocate.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/allocate.cpp b/allocate.cpp
index 745eb781..1cb42d9d 100644
--- a/allocate.cpp
+++ b/allocate.cpp
@@ -27,12 +27,9 @@ NAMESPACE_BEGIN(CryptoPP)
void CallNewHandler()
{
- using std::new_handler;
- using std::set_new_handler;
-
- new_handler newHandler = set_new_handler(NULLPTR);
+ std::new_handler newHandler = std::set_new_handler(NULLPTR);
if (newHandler)
- set_new_handler(newHandler);
+ std::set_new_handler(newHandler);
if (newHandler)
newHandler();