fix: explicitly specify Blocklist::size() return type as size_t

Fixes building with C++20/C++23
error: no matching function for call to 'size'
function 'size' with deduced return type cannot be used before it is defined

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
Dzmitry Neviadomski 2024-05-07 15:39:42 +03:00
parent 5f4b646741
commit 3244dcdd00
No known key found for this signature in database
GPG Key ID: C2C77674D3302F74
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ private:
[[nodiscard]] bool contains(tr_address const& addr) const;
[[nodiscard]] auto size() const
[[nodiscard]] size_t size() const
{
ensureLoaded();