aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin_fuzzy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_bitcoin_fuzzy.cpp')
-rw-r--r--src/test/test_bitcoin_fuzzy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin_fuzzy.cpp b/src/test/test_bitcoin_fuzzy.cpp
index 11b7c66ccd..88c082ff66 100644
--- a/src/test/test_bitcoin_fuzzy.cpp
+++ b/src/test/test_bitcoin_fuzzy.cpp
@@ -279,7 +279,7 @@ static int test_one_input(std::vector<uint8_t> buffer) {
static std::unique_ptr<ECCVerifyHandle> globalVerifyHandle;
void initialize() {
- globalVerifyHandle = std::unique_ptr<ECCVerifyHandle>(new ECCVerifyHandle());
+ globalVerifyHandle = MakeUnique<ECCVerifyHandle>();
}
// This function is used by libFuzzer