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}
This commit is contained in:
Mirko Bonadei
2019-11-11 19:59:54 +01:00
committed by Commit Bot
parent 3a65f392a3
commit 62a19d0798
2 changed files with 13 additions and 13 deletions

View File

@ -355,18 +355,18 @@ class RTCStatsMember : public RTCStatsMemberInterface {
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);

View File

@ -48,7 +48,7 @@ class RTC_EXPORT VideoFrame {
};
// Preferred way of building VideoFrame objects.
class Builder {
class RTC_EXPORT Builder {
public:
Builder();
~Builder();