mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
addrman: Use std::nullopt instead of {}
This commit is contained in:
parent
59cc66abb9
commit
dc70c1eb08
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public:
|
||||||
* @param[in] in_new Select addresses only from one table (true = new, false = tried, nullopt = both)
|
* @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.
|
* @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.
|
* Attempt to add one or more addresses to addrman's new table.
|
||||||
|
|
Loading…
Add table
Reference in a new issue