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 <steveanton@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29760}
diff --git a/api/stats/rtc_stats.h b/api/stats/rtc_stats.h
index 8fadd10..e9d1124 100644
--- a/api/stats/rtc_stats.h
+++ b/api/stats/rtc_stats.h
@@ -355,18 +355,18 @@
T value_;
};
-#define WEBRTC_DECLARE_RTCSTATSMEMBER(T) \
- template <> \
- RTCStatsMemberInterface::Type RTCStatsMember<T>::StaticType(); \
- template <> \
- bool RTCStatsMember<T>::is_sequence() const; \
- template <> \
- bool RTCStatsMember<T>::is_string() const; \
- template <> \
- std::string RTCStatsMember<T>::ValueToString() const; \
- template <> \
- std::string RTCStatsMember<T>::ValueToJson() const; \
- extern template class RTC_EXPORT_TEMPLATE_DECLARE(RTC_EXPORT) \
+#define WEBRTC_DECLARE_RTCSTATSMEMBER(T) \
+ template <> \
+ RTC_EXPORT RTCStatsMemberInterface::Type RTCStatsMember<T>::StaticType(); \
+ template <> \
+ bool RTCStatsMember<T>::is_sequence() const; \
+ template <> \
+ bool RTCStatsMember<T>::is_string() const; \
+ template <> \
+ std::string RTCStatsMember<T>::ValueToString() const; \
+ template <> \
+ std::string RTCStatsMember<T>::ValueToJson() const; \
+ extern template class RTC_EXPORT_TEMPLATE_DECLARE(RTC_EXPORT) \
RTCStatsMember<T>
WEBRTC_DECLARE_RTCSTATSMEMBER(bool);
diff --git a/api/video/video_frame.h b/api/video/video_frame.h
index 51cee64..284667f 100644
--- a/api/video/video_frame.h
+++ b/api/video/video_frame.h
@@ -48,7 +48,7 @@
};
// Preferred way of building VideoFrame objects.
- class Builder {
+ class RTC_EXPORT Builder {
public:
Builder();
~Builder();