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:
stefan@webrtc.org
2014-09-12 07:42:33 +00:00
parent cc774a69cb
commit 6071b0636d
6 changed files with 21 additions and 34 deletions

View File

@ -355,7 +355,7 @@ class NullRtpData : public RtpData {
}
virtual bool OnRecoveredPacket(const uint8_t* packet,
int packet_length) {
int packet_length) OVERRIDE {
return true;
}
};