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:
@ -96,10 +96,6 @@ RtpReceiverImpl::~RtpReceiverImpl() {
|
||||
}
|
||||
}
|
||||
|
||||
RTPReceiverStrategy* RtpReceiverImpl::GetMediaReceiver() const {
|
||||
return rtp_media_receiver_.get();
|
||||
}
|
||||
|
||||
int32_t RtpReceiverImpl::RegisterReceivePayload(
|
||||
const char payload_name[RTP_PAYLOAD_NAME_SIZE],
|
||||
const int8_t payload_type,
|
||||
|
||||
Reference in New Issue
Block a user