Remove duplicated parentheses from deprecated attribute

These lines cause an error when building a project with libwebrtc as a dependency in Microsoft Visual Studio.

Bug: webrtc:15864
Change-Id: I1abfe257d0ea1c16c4c5b718594e8085036f7763
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/342320
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41881}
This commit is contained in:
Keiichi Enomoto 2024-03-09 00:58:44 +09:00 committed by WebRTC LUCI CQ
parent cd3d29b6fb
commit a70274a82f
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ namespace webrtc {
// SDP specification for a single audio codec.
struct RTC_EXPORT SdpAudioFormat {
using Parameters [[deprecated(("Use webrtc::CodecParameterMap"))]] =
using Parameters [[deprecated("Use webrtc::CodecParameterMap")]] =
std::map<std::string, std::string>;
SdpAudioFormat(const SdpAudioFormat&);

View file

@ -26,7 +26,7 @@ namespace webrtc {
// SDP specification for a single video codec.
// NOTE: This class is still under development and may change without notice.
struct RTC_EXPORT SdpVideoFormat {
using Parameters [[deprecated(("Use webrtc::CodecParameterMap"))]] =
using Parameters [[deprecated("Use webrtc::CodecParameterMap")]] =
std::map<std::string, std::string>;
explicit SdpVideoFormat(const std::string& name);