mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
This commit is contained in:
@ -22,7 +22,7 @@ namespace DX11
|
||||
class DXTexture final : public AbstractTexture
|
||||
{
|
||||
public:
|
||||
~DXTexture();
|
||||
~DXTexture() override;
|
||||
|
||||
static std::unique_ptr<DXTexture> Create(const TextureConfig& config, std::string_view name);
|
||||
static std::unique_ptr<DXTexture> CreateAdopted(ComPtr<ID3D11Texture2D> texture);
|
||||
@ -56,7 +56,7 @@ class DXStagingTexture final : public AbstractStagingTexture
|
||||
{
|
||||
public:
|
||||
DXStagingTexture() = delete;
|
||||
~DXStagingTexture();
|
||||
~DXStagingTexture() 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