aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/md4/md4.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2021-04-03 15:20:21 -0400
committerJack Lloyd <[email protected]>2021-04-03 15:20:21 -0400
commita7e30a97fe3748e970283bf03936c239642036e6 (patch)
treea652d36ff75e3393d579020655b259a82c122bc1 /src/lib/hash/md4/md4.cpp
parent6858f5cb7d8feb169a722c86cafc8175bf733ccc (diff)
parent0b5554cf3edbcfcfdbb2d500c0fb45e69a047616 (diff)
Merge GH #2688 Use make_unique in HashFunction copy_state impl
Diffstat (limited to 'src/lib/hash/md4/md4.cpp')
-rw-r--r--src/lib/hash/md4/md4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/md4/md4.cpp b/src/lib/hash/md4/md4.cpp
index 0f857a102..9d6d4d52e 100644
--- a/src/lib/hash/md4/md4.cpp
+++ b/src/lib/hash/md4/md4.cpp
@@ -14,7 +14,7 @@ namespace Botan {
std::unique_ptr<HashFunction> MD4::copy_state() const
{
- return std::unique_ptr<HashFunction>(new MD4(*this));
+ return std::make_unique<MD4>(*this);
}
namespace {