video_core: Add missing override specifiers

Ensures that the signatures will always match with the base class.

Also silences a few compilation warnings.
This commit is contained in:
Lioncash 2019-03-27 12:24:13 -04:00
parent 47f2405ab1
commit bbe700359d
3 changed files with 4 additions and 4 deletions

View file

@ -538,12 +538,12 @@ private:
return nullptr;
}
void Register(const Surface& object) {
void Register(const Surface& object) override {
RasterizerCache<Surface>::Register(object);
}
/// Unregisters an object from the cache
void Unregister(const Surface& object) {
void Unregister(const Surface& object) override {
if (object->IsReinterpreted()) {
auto interval = GetReinterpretInterval(object);
reinterpreted_surfaces.erase(interval);