mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-07 04:19:27 +02:00
Just use unique_ptr<CAddrMan>s and reset the pointer if a frest addrman is required. Also make CAddrMan::Clear() private to ensure that no call sites are missed.