Remove unused lambda capture to unbreak downstream code.
Broken since: d3c3a4e2ac
BUG=none
TBR=zhihuang@webrtc.org
Review-Url: https://codereview.webrtc.org/2639523002
Cr-Commit-Position: refs/heads/master@{#16121}
This commit is contained in:
parent
0b2d3e217f
commit
e08b253ee0
@ -1691,7 +1691,7 @@ Connection* P2PTransportChannel::FindNextPingableConnection() {
|
||||
[this, now](Connection* conn) { return IsPingable(conn, now); });
|
||||
auto iter =
|
||||
std::max_element(pingable_connections.begin(), pingable_connections.end(),
|
||||
[this, now](Connection* conn1, Connection* conn2) {
|
||||
[this](Connection* conn1, Connection* conn2) {
|
||||
return MorePingable(conn1, conn2) == conn2;
|
||||
});
|
||||
if (iter != pingable_connections.end()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user