Skip to content

Commit

Permalink
VideoBackends/Null: Apply final to classes where applicable
Browse files Browse the repository at this point in the history
These aren't intended to be further specialized, so we can make this
obvious with final.
  • Loading branch information
lioncash committed Jul 27, 2019
1 parent 86000fc commit 23c5b36
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/Null/PerfQuery.h
Expand Up @@ -8,7 +8,7 @@


namespace Null namespace Null
{ {
class PerfQuery : public PerfQueryBase class PerfQuery final : public PerfQueryBase
{ {
public: public:
void EnableQuery(PerfQueryGroup type) override {} void EnableQuery(PerfQueryGroup type) override {}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/Null/Render.h
Expand Up @@ -8,7 +8,7 @@


namespace Null namespace Null
{ {
class Renderer : public ::Renderer class Renderer final : public ::Renderer
{ {
public: public:
Renderer(); Renderer();
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/Null/TextureCache.h
Expand Up @@ -8,7 +8,7 @@


namespace Null namespace Null
{ {
class TextureCache : public TextureCacheBase class TextureCache final : public TextureCacheBase
{ {
protected: protected:
void CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width, void CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/Null/VertexManager.h
Expand Up @@ -8,7 +8,7 @@


namespace Null namespace Null
{ {
class VertexManager : public VertexManagerBase class VertexManager final : public VertexManagerBase
{ {
public: public:
VertexManager(); VertexManager();
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/Null/VideoBackend.h
Expand Up @@ -8,7 +8,7 @@


namespace Null namespace Null
{ {
class VideoBackend : public VideoBackendBase class VideoBackend final : public VideoBackendBase
{ {
bool Initialize(const WindowSystemInfo& wsi) override; bool Initialize(const WindowSystemInfo& wsi) override;
void Shutdown() override; void Shutdown() override;
Expand Down

0 comments on commit 23c5b36

Please sign in to comment.