| Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
|
| index 801aa085c44c855ea0fab3353899530df6fb3139..de1cf760bbaa64b52e57636713a66879af1412ca 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
|
| @@ -22,10 +22,10 @@ namespace rtcp {
|
| // RFC4585, Section 6.2
|
| class Rtpfb : public RtcpPacket {
|
| public:
|
| - static const uint8_t kPacketType = 205;
|
| + static constexpr uint8_t kPacketType = 205;
|
|
|
| Rtpfb() : sender_ssrc_(0), media_ssrc_(0) {}
|
| - virtual ~Rtpfb() {}
|
| + ~Rtpfb() override {}
|
|
|
| void From(uint32_t ssrc) { sender_ssrc_ = ssrc; }
|
| void To(uint32_t ssrc) { media_ssrc_ = ssrc; }
|
| @@ -34,7 +34,7 @@ class Rtpfb : public RtcpPacket {
|
| uint32_t media_ssrc() const { return media_ssrc_; }
|
|
|
| protected:
|
| - static const size_t kCommonFeedbackLength = 8;
|
| + static constexpr size_t kCommonFeedbackLength = 8;
|
| void ParseCommonFeedback(const uint8_t* payload);
|
| void CreateCommonFeedback(uint8_t* payload) const;
|
|
|
|
|