aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sm3/sm3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/sm3/sm3.cpp')
-rw-r--r--src/lib/hash/sm3/sm3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/sm3/sm3.cpp b/src/lib/hash/sm3/sm3.cpp
index d29f2b505..4f75f5b20 100644
--- a/src/lib/hash/sm3/sm3.cpp
+++ b/src/lib/hash/sm3/sm3.cpp
@@ -15,7 +15,7 @@ namespace Botan {
std::unique_ptr<HashFunction> SM3::copy_state() const
{
- return std::unique_ptr<HashFunction>(new SM3(*this));
+ return std::make_unique<SM3>(*this);
}
namespace {