HomePhabricator

Use std::unique_ptr (C++11) where possible

Description

Use std::unique_ptr (C++11) where possible

Summary:

  • Use unique_ptr for pfilter (CBloomFilter)
  • Use unique_ptr for sem{Addnode,Outbound} (CSemaphore)

This is part of Core PR11043

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Aug 9 2017, 14:14
deadalnixCommitted on Sep 15 2018, 16:57
deadalnixPushed on Sep 15 2018, 16:57
Reviewer
Restricted Project
Differential Revision
D1769: Use std::unique_ptr (C++11) where possible
Parents
rABC6ad95c3bab28: Rename various variable so they do not shadow
Branches
Unknown
Tags
Unknown

Event Timeline

deadalnix committed rABCb58315392f6a: Use std::unique_ptr (C++11) where possible (authored by practicalswift <practicalswift@users.noreply.github.com>).Sep 15 2018, 16:57