HomePhabricator

Use std::make_unique more consistently

Description

Use std::make_unique more consistently

Summary: Chane several use of std::unique_ptr<Foo>(new Foo()) to use std::make_unqiue

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Sep 20 2019, 12:55
deadalnixPushed on Sep 20 2019, 16:31
Reviewer
Restricted Project
Differential Revision
D4115: Use std::make_unique more consistently
Parents
rSTAGINGcf2b6f7276f0: bench: Use non-throwing ParseDouble(...) instead of throwing boost…
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/13045, tag: phabricator/base/13042, tag: phabricator/base/13040