Skip to content

quic: prevent copying ngtcp2_cid

The existing code explicitly uses the CID(const ngtcp2_cid*) constructor that does not copy the given ngtcp2_cid, but the range-based for loop still unnecessarily copies the ngtcp2_cid. Use auto& to avoid copying.

Merge request reports

Loading