From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'third_party/libwebrtc/net/dcsctp/tx') diff --git a/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.cc b/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.cc index 7cbead296c..3e682fdca6 100644 --- a/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.cc +++ b/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.cc @@ -373,8 +373,9 @@ void RRSendQueue::Add(Timestamp now, : Timestamp::PlusInfinity(), .lifecycle_id = send_options.lifecycle_id, }; - GetOrCreateStreamInfo(message.stream_id()) - .Add(std::move(message), std::move(attributes)); + StreamID stream_id = message.stream_id(); + GetOrCreateStreamInfo(stream_id).Add(std::move(message), + std::move(attributes)); RTC_DCHECK(IsConsistent()); } -- cgit v1.2.3