Page MenuHomePhabricator

[seeder] avoid creating copy in loop variable
ClosedPublic

Authored by PiRK on Mon, Nov 3, 19:44.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCc391821a705e: [seeder] avoid creating copy in loop variable
Summary

Use references to avoid copies. This causes warnings / errors with c++20.

And while we are touching this, upgrade code to structured bindings.

Depends on D18663

Test Plan

ninja check-seeder

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable