diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-03-10 12:55:41 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-03-11 12:51:26 +0000 |
commit | d3d4892ef45d09edbbe4672b112100743970b2a5 (patch) | |
tree | e293227df42ae9f4c49cb0a271d4ce028b8e6658 /src/test/fuzz/block.cpp | |
parent | e57e67057ae76db73f52ddd5480a4ea5b4bf1636 (diff) |
tests: Simplify code by removing unwarranted use of unique_ptr:s
Diffstat (limited to 'src/test/fuzz/block.cpp')
-rw-r--r-- | src/test/fuzz/block.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/fuzz/block.cpp b/src/test/fuzz/block.cpp index 4a97eca18a..9d0ad369a2 100644 --- a/src/test/fuzz/block.cpp +++ b/src/test/fuzz/block.cpp @@ -15,12 +15,11 @@ #include <version.h> #include <cassert> -#include <memory> #include <string> void initialize() { - const static auto verify_handle = MakeUnique<ECCVerifyHandle>(); + static const ECCVerifyHandle verify_handle; SelectParams(CBaseChainParams::REGTEST); } |