addrman: Use std::nullopt instead of {}

This commit is contained in:
Martin Zumsande 2023-02-01 10:18:08 -05:00
parent 59cc66abb9
commit dc70c1eb08
1 changed files with 1 additions and 1 deletions

View File

@ -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.