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();