diff options
Diffstat (limited to 'src/lib/hash/sha1/sha160.cpp')
-rw-r--r-- | src/lib/hash/sha1/sha160.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/sha1/sha160.cpp b/src/lib/hash/sha1/sha160.cpp index a6a918e52..daba22a0d 100644 --- a/src/lib/hash/sha1/sha160.cpp +++ b/src/lib/hash/sha1/sha160.cpp @@ -15,7 +15,7 @@ namespace Botan { std::unique_ptr<HashFunction> SHA_160::copy_state() const { - return std::unique_ptr<HashFunction>(new SHA_160(*this)); + return std::make_unique<SHA_160>(*this); } namespace SHA1_F { |