| commit | e0acd51cda79a62e4f19e0d274e716babdceea83 | [log] [tgz] |
|---|---|---|
| author | haoyuewang <haoyuewang@google.com> | Thu Nov 05 09:18:36 2020 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 05 09:19:48 2020 -0800 |
| tree | 8dda92a47bf951f5a8800acfd9946c59834f6079 | |
| parent | fbfb04518d1aae115139c9a274edce040a0aeeda [diff] [blame] |
Internal QUICHE change PiperOrigin-RevId: 340865909 Change-Id: I149591b5a141c48bb866c3e80b70cc2f1171259d
diff --git a/quic/test_tools/quic_unacked_packet_map_peer.cc b/quic/test_tools/quic_unacked_packet_map_peer.cc index 1ecc65f..fa3408c 100644 --- a/quic/test_tools/quic_unacked_packet_map_peer.cc +++ b/quic/test_tools/quic_unacked_packet_map_peer.cc
@@ -20,5 +20,11 @@ *const_cast<Perspective*>(&unacked_packets->perspective_) = perspective; } +// static +size_t QuicUnackedPacketMapPeer::GetCapacity( + const QuicUnackedPacketMap& unacked_packets) { + return unacked_packets.unacked_packets_.capacity(); +} + } // namespace test } // namespace quic