From 02a454f72b653a08cf4c6d1fe015d1168899c0a2 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Fri, 27 Jul 2018 13:01:21 +0200 Subject: [PATCH] Don't use explicit constructor in copy-initialization. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Henrik Boström Cr-Commit-Position: refs/heads/master@{#24128} --- api/peerconnectioninterface.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/peerconnectioninterface.cc b/api/peerconnectioninterface.cc index adae14fe55..ddaeb362c1 100644 --- a/api/peerconnectioninterface.cc +++ b/api/peerconnectioninterface.cc @@ -98,7 +98,7 @@ PeerConnectionInterface::GetReceivers() const { std::vector> PeerConnectionInterface::GetTransceivers() const { - return {}; + return std::vector>(); } const SessionDescriptionInterface*