It is never a nullptr, otherwise an assertion would fire in
UpdatePeerStateForReceivedHeaders.
Passing a reference makes the code easier to read and less brittle.
This is a backport of core#26378
Differential D16817
refactor: Pass reference to last header, not pointer PiRK on Sep 27 2024, 15:23. Authored by Tags None Subscribers None
Details
It is never a nullptr, otherwise an assertion would fire in Passing a reference makes the code easier to read and less brittle. This is a backport of core#26378 ninja all check-all
Diff Detail
|