VideoBackends/Null: Apply final to classes where applicable

These aren't intended to be further specialized, so we can make this
obvious with final.
This commit is contained in:
Lioncash 2019-07-27 17:19:52 -04:00
parent 86000fc6b4
commit 23c5b362a5
5 changed files with 5 additions and 5 deletions

View File

@ -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 {}

View File

@ -8,7 +8,7 @@
namespace Null namespace Null
{ {
class Renderer : public ::Renderer class Renderer final : public ::Renderer
{ {
public: public:
Renderer(); Renderer();

View File

@ -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,

View File

@ -8,7 +8,7 @@
namespace Null namespace Null
{ {
class VertexManager : public VertexManagerBase class VertexManager final : public VertexManagerBase
{ {
public: public:
VertexManager(); VertexManager();

View File

@ -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;