Mark all virtual overrides in the hierarchy of RtpData and RtpReceiver as such.
This will make further changes to these classes safer by ensuring that the compile breaks if the base class changes and not all overrides are fixed. This also highlighted a number of unused functions which I've removed. -- This is was reviewed in https://webrtc-codereview.appspot.com/19309004/, but -- a new cl was needed to resolve a small conflict before committing. BUG=none TEST=none TBR=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22359004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7162 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -355,7 +355,7 @@ class NullRtpData : public RtpData {
|
||||
}
|
||||
|
||||
virtual bool OnRecoveredPacket(const uint8_t* packet,
|
||||
int packet_length) {
|
||||
int packet_length) OVERRIDE {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user