From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 17 Sep 2024 13:33:00 -0500
Subject: Bug 1918268 - (fix-96c1b9c5ea) provide template arg for optional to
 fix compile error

Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ca2211dbb0dd8864768cdcce1ea146bdbb0faeda
---
 video/video_send_stream_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/video/video_send_stream_impl.cc b/video/video_send_stream_impl.cc
index dfcb9a30e9..b3d5bbf115 100644
--- a/video/video_send_stream_impl.cc
+++ b/video/video_send_stream_impl.cc
@@ -787,7 +787,7 @@ MediaStreamAllocationConfig VideoSendStreamImpl::GetAllocationConfig() const {
       !config_.suspend_below_min_bitrate,
       encoder_bitrate_priority_,
       (content_type_ == VideoEncoderConfig::ContentType::kRealtimeVideo)
-          ? std::optional(TrackRateElasticity::kCanConsumeExtraRate)
+          ? std::optional<TrackRateElasticity>(TrackRateElasticity::kCanConsumeExtraRate)
           : std::nullopt};
 }
 
