From 23c5b362a57d52adb094227ff5b456469ebd36ad Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 27 Jul 2019 17:19:52 -0400 Subject: [PATCH] VideoBackends/Null: Apply final to classes where applicable These aren't intended to be further specialized, so we can make this obvious with final. --- Source/Core/VideoBackends/Null/PerfQuery.h | 2 +- Source/Core/VideoBackends/Null/Render.h | 2 +- Source/Core/VideoBackends/Null/TextureCache.h | 2 +- Source/Core/VideoBackends/Null/VertexManager.h | 2 +- Source/Core/VideoBackends/Null/VideoBackend.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Core/VideoBackends/Null/PerfQuery.h b/Source/Core/VideoBackends/Null/PerfQuery.h index 80e33753ba..0d43117951 100644 --- a/Source/Core/VideoBackends/Null/PerfQuery.h +++ b/Source/Core/VideoBackends/Null/PerfQuery.h @@ -8,7 +8,7 @@ namespace Null { -class PerfQuery : public PerfQueryBase +class PerfQuery final : public PerfQueryBase { public: void EnableQuery(PerfQueryGroup type) override {} diff --git a/Source/Core/VideoBackends/Null/Render.h b/Source/Core/VideoBackends/Null/Render.h index 03f08e850d..21bd9c9c2c 100644 --- a/Source/Core/VideoBackends/Null/Render.h +++ b/Source/Core/VideoBackends/Null/Render.h @@ -8,7 +8,7 @@ namespace Null { -class Renderer : public ::Renderer +class Renderer final : public ::Renderer { public: Renderer(); diff --git a/Source/Core/VideoBackends/Null/TextureCache.h b/Source/Core/VideoBackends/Null/TextureCache.h index 7688004da2..b407c826e6 100644 --- a/Source/Core/VideoBackends/Null/TextureCache.h +++ b/Source/Core/VideoBackends/Null/TextureCache.h @@ -8,7 +8,7 @@ namespace Null { -class TextureCache : public TextureCacheBase +class TextureCache final : public TextureCacheBase { protected: void CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width, diff --git a/Source/Core/VideoBackends/Null/VertexManager.h b/Source/Core/VideoBackends/Null/VertexManager.h index 2f45757f2e..ba9c2d7186 100644 --- a/Source/Core/VideoBackends/Null/VertexManager.h +++ b/Source/Core/VideoBackends/Null/VertexManager.h @@ -8,7 +8,7 @@ namespace Null { -class VertexManager : public VertexManagerBase +class VertexManager final : public VertexManagerBase { public: VertexManager(); diff --git a/Source/Core/VideoBackends/Null/VideoBackend.h b/Source/Core/VideoBackends/Null/VideoBackend.h index 8587854fc6..0930ccf7ad 100644 --- a/Source/Core/VideoBackends/Null/VideoBackend.h +++ b/Source/Core/VideoBackends/Null/VideoBackend.h @@ -8,7 +8,7 @@ namespace Null { -class VideoBackend : public VideoBackendBase +class VideoBackend final : public VideoBackendBase { bool Initialize(const WindowSystemInfo& wsi) override; void Shutdown() override;