
Some implementations of std::max_element (used to find the "most pingable" connection) seem to compare an element with itself, which MorePingable doesn't handle. Fixing by handling the self-comparison outside MorePingable. Bug: webrtc:8697 Change-Id: Ieb34580f52037639c00041a4e65901cad92d0971 Reviewed-on: https://webrtc-review.googlesource.com/62402 Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22543}