Просмотр исходного кода

renderer_opengl/gl_global_cache: Append missing override specifiers

Two of the functions here are overridden functions, so we can append
these specifiers to make it explicit.
Lioncash 7 лет назад
Родитель
Сommit
1070c020db
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/video_core/renderer_opengl/gl_global_cache.h

+ 2 - 2
src/video_core/renderer_opengl/gl_global_cache.h

@@ -30,12 +30,12 @@ public:
     explicit CachedGlobalRegion(VAddr addr, u32 size);
 
     /// Gets the address of the shader in guest memory, required for cache management
-    VAddr GetAddr() const {
+    VAddr GetAddr() const override {
         return addr;
     }
 
     /// Gets the size of the shader in guest memory, required for cache management
-    std::size_t GetSizeInBytes() const {
+    std::size_t GetSizeInBytes() const override {
         return size;
     }