mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
addrman: Use std::nullopt instead of {}
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
* @param[in] in_new Select addresses only from one table (true = new, false = tried, nullopt = both)
|
||||
* @return Number of unique addresses that match specified options.
|
||||
*/
|
||||
size_t Size(std::optional<Network> net = {}, std::optional<bool> in_new = {}) const;
|
||||
size_t Size(std::optional<Network> net = std::nullopt, std::optional<bool> in_new = std::nullopt) const;
|
||||
|
||||
/**
|
||||
* Attempt to add one or more addresses to addrman's new table.
|
||||
|
||||
Reference in New Issue
Block a user