Mark all virtual overrides in the hierarchy of Module as virtual and OVERRIDE.
This will make a subsequent change I intend to do safer, where I'll change the return type of one of the base Module functions, by breaking the compile if I miss any overrides. This also highlighted a number of unused functions (in many cases apparently virtual "overrides" of no-longer-existent base functions). I've removed some of these. This also highlighted several cases where "virtual" was used unnecessarily to mark a function that was only defined in one class. Removed "virtual" in those cases. BUG=none TEST=none R=andrew@webrtc.org, henrik.lundin@webrtc.org, mallinath@webrtc.org, mflodman@webrtc.org, stefan@webrtc.org, turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/24419004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7146 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -89,12 +89,12 @@ class VideoProcessingModule : public Module {
|
||||
/**
|
||||
Not supported.
|
||||
*/
|
||||
virtual int32_t TimeUntilNextProcess() { return -1; }
|
||||
virtual int32_t TimeUntilNextProcess() OVERRIDE { return -1; }
|
||||
|
||||
/**
|
||||
Not supported.
|
||||
*/
|
||||
virtual int32_t Process() { return -1; }
|
||||
virtual int32_t Process() OVERRIDE { return -1; }
|
||||
|
||||
/**
|
||||
Resets all processing components to their initial states. This should be
|
||||
|
||||
Reference in New Issue
Block a user