libstdc++: fix ostream operator<< usage in JsepTransportCollection

it.second in JsepTransportCollection::IsConsistent() is of type
std::unique_ptr, which has no operator<< in libstdc++. Even if it
would exist, it would just return the pointer value and not the
content.

Bug: chromium:957519
Change-Id: I17c75db47d63f42b33a551ee2b7afbf5c9a3cfde
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/222401
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34289}
This commit is contained in:
Stephan Hartmann 2021-06-14 12:22:04 +00:00 committed by WebRTC LUCI CQ
parent 07bf5b5d78
commit e4eb8af08f

View File

@ -197,7 +197,7 @@ bool JsepTransportCollection::IsConsistent() {
for (const auto& it : jsep_transports_by_name_) {
if (!TransportInUse(it.second.get())) {
RTC_LOG(LS_ERROR) << "Transport registered with mid " << it.first
<< " is not in use, transport " << it.second;
<< " is not in use, transport " << it.second.get();
return false;
}
const auto& lookup = mid_to_transport_.find(it.first);