From 62a19d07982f1bea0bd58a06217c482817c25059 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 11 Nov 2019 19:59:54 +0100 Subject: [PATCH] RTC_EXPORT RTCStatsMember::StaticType and VideoFrame::Builder. Bug: webrtc:9419 Change-Id: I093a00926af5f5169e14d2680a65c8cbda6cbfba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159542 Reviewed-by: Steve Anton Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#29760} --- api/stats/rtc_stats.h | 24 ++++++++++++------------ api/video/video_frame.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/api/stats/rtc_stats.h b/api/stats/rtc_stats.h index 8fadd106e7..e9d11241ce 100644 --- a/api/stats/rtc_stats.h +++ b/api/stats/rtc_stats.h @@ -355,18 +355,18 @@ class RTCStatsMember : public RTCStatsMemberInterface { T value_; }; -#define WEBRTC_DECLARE_RTCSTATSMEMBER(T) \ - template <> \ - RTCStatsMemberInterface::Type RTCStatsMember::StaticType(); \ - template <> \ - bool RTCStatsMember::is_sequence() const; \ - template <> \ - bool RTCStatsMember::is_string() const; \ - template <> \ - std::string RTCStatsMember::ValueToString() const; \ - template <> \ - std::string RTCStatsMember::ValueToJson() const; \ - extern template class RTC_EXPORT_TEMPLATE_DECLARE(RTC_EXPORT) \ +#define WEBRTC_DECLARE_RTCSTATSMEMBER(T) \ + template <> \ + RTC_EXPORT RTCStatsMemberInterface::Type RTCStatsMember::StaticType(); \ + template <> \ + bool RTCStatsMember::is_sequence() const; \ + template <> \ + bool RTCStatsMember::is_string() const; \ + template <> \ + std::string RTCStatsMember::ValueToString() const; \ + template <> \ + std::string RTCStatsMember::ValueToJson() const; \ + extern template class RTC_EXPORT_TEMPLATE_DECLARE(RTC_EXPORT) \ RTCStatsMember WEBRTC_DECLARE_RTCSTATSMEMBER(bool); diff --git a/api/video/video_frame.h b/api/video/video_frame.h index 51cee649f1..284667f991 100644 --- a/api/video/video_frame.h +++ b/api/video/video_frame.h @@ -48,7 +48,7 @@ class RTC_EXPORT VideoFrame { }; // Preferred way of building VideoFrame objects. - class Builder { + class RTC_EXPORT Builder { public: Builder(); ~Builder();