From bbe700359dcd4401e2090df5afd233e67b97e8d7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 27 Mar 2019 12:24:13 -0400 Subject: video_core: Add missing override specifiers Ensures that the signatures will always match with the base class. Also silences a few compilation warnings. --- src/video_core/renderer_opengl/gl_rasterizer_cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_core/renderer_opengl') diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index c644271d0..e8073579f 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -538,12 +538,12 @@ private: return nullptr; } - void Register(const Surface& object) { + void Register(const Surface& object) override { RasterizerCache::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); -- cgit v1.2.3