mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
This commit is contained in:
@ -18,7 +18,7 @@ class SWTexture final : public AbstractTexture
|
||||
{
|
||||
public:
|
||||
explicit SWTexture(const TextureConfig& tex_config);
|
||||
~SWTexture() = default;
|
||||
~SWTexture() override = default;
|
||||
|
||||
void CopyRectangleFromTexture(const AbstractTexture* src,
|
||||
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
|
||||
@ -40,7 +40,7 @@ class SWStagingTexture final : public AbstractStagingTexture
|
||||
{
|
||||
public:
|
||||
explicit SWStagingTexture(StagingTextureType type, const TextureConfig& config);
|
||||
~SWStagingTexture();
|
||||
~SWStagingTexture() override;
|
||||
|
||||
void CopyFromTexture(const AbstractTexture* src, const MathUtil::Rectangle<int>& src_rect,
|
||||
u32 src_layer, u32 src_level,
|
||||
|
Reference in New Issue
Block a user