Don't use explicit constructor in copy-initialization.
This aligns "GetTransceivers" with "GetSenders" / "GetReceivers" and fixes a compilation error if an older libstdc++ from the system is used. Bug: None Change-Id: I1cab00549b28c24c2bfdfcef17302db2c70a2fce Reviewed-on: https://webrtc-review.googlesource.com/90861 Commit-Queue: Joachim Bauch <jbauch@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24128}
This commit is contained in:
parent
d673da2fc8
commit
02a454f72b
@ -98,7 +98,7 @@ PeerConnectionInterface::GetReceivers() const {
|
||||
|
||||
std::vector<rtc::scoped_refptr<RtpTransceiverInterface>>
|
||||
PeerConnectionInterface::GetTransceivers() const {
|
||||
return {};
|
||||
return std::vector<rtc::scoped_refptr<RtpTransceiverInterface>>();
|
||||
}
|
||||
|
||||
const SessionDescriptionInterface*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user