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}
diff --git a/api/audio_codecs/audio_format.h b/api/audio_codecs/audio_format.h
index edccc17..023ddb6 100644
--- a/api/audio_codecs/audio_format.h
+++ b/api/audio_codecs/audio_format.h
@@ -25,7 +25,7 @@
// 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&);
diff --git a/api/video_codecs/sdp_video_format.h b/api/video_codecs/sdp_video_format.h
index b8c997e..112f53f 100644
--- a/api/video_codecs/sdp_video_format.h
+++ b/api/video_codecs/sdp_video_format.h
@@ -26,7 +26,7 @@
// 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);