HomePhabricator

tests: Use MakeUnique to construct objects owned by unique_ptrs

Description

tests: Use MakeUnique to construct objects owned by unique_ptrs

Summary:
As per title.

Backport of core PR14287:
https://github.com/bitcoin/bitcoin/pull/14287/files

Depends on D4588.

Several changes are missing because already in our codebase.

Test Plan:

ninja check bench-bitcoin

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4612

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Sep 21 2018, 09:03
FabienCommitted on Feb 10 2020, 13:19
FabienPushed on Feb 10 2020, 13:49
Reviewer
Restricted Project
Differential Revision
D4612: tests: Use MakeUnique to construct objects owned by unique_ptrs
Parents
rSTAGINGe83e7cb51c7e: [tests] Add libFuzzer support.
Branches
Unknown
Tags
Unknown