Skip to content

Commit

Permalink
libstdc++: fix ostream operator<< usage in JsepTransportCollection
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Taylor Brandstetter <[email protected]>
Reviewed-by: Henrik Boström <[email protected]>
Cr-Commit-Position: refs/heads/master@{#34289}
  • Loading branch information
stha09 authored and WebRTC LUCI CQ committed Jun 15, 2021
1 parent 07bf5b5 commit e4eb8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pc/jsep_transport_collection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4eb8af

Please sign in to comment.