mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #13522 from tygyh/Enforce-overriding-destructor-style-Core&UnitTests
Core & UnitTests: Make overriding explicit and remove redundant virtual specifiers on overriding destructors
This commit is contained in:
@ -79,7 +79,7 @@ public:
|
||||
void SetFullscreen(bool enable_fullscreen) override;
|
||||
bool IsFullscreen() const override;
|
||||
|
||||
virtual SurfaceInfo GetSurfaceInfo() const override;
|
||||
SurfaceInfo GetSurfaceInfo() const override;
|
||||
|
||||
// Completes the current render pass, executes the command buffer, and restores state ready for
|
||||
// next render. Use when you want to kick the current buffer to make room for new data.
|
||||
|
@ -16,7 +16,7 @@ class PerfQuery : public PerfQueryBase
|
||||
{
|
||||
public:
|
||||
PerfQuery();
|
||||
~PerfQuery();
|
||||
~PerfQuery() override;
|
||||
|
||||
static PerfQuery* GetInstance() { return static_cast<PerfQuery*>(g_perf_query.get()); }
|
||||
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
VKTexture(const TextureConfig& tex_config, VmaAllocation alloc, VkImage image,
|
||||
std::string_view name, VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
ComputeImageLayout compute_layout = ComputeImageLayout::Undefined);
|
||||
~VKTexture();
|
||||
~VKTexture() override;
|
||||
|
||||
static VkFormat GetLinearFormat(VkFormat format);
|
||||
static VkFormat GetVkFormatForHostTextureFormat(AbstractTextureFormat format);
|
||||
@ -93,7 +93,7 @@ public:
|
||||
std::unique_ptr<StagingBuffer> buffer, VkImage linear_image,
|
||||
VmaAllocation linear_image_alloc);
|
||||
|
||||
~VKStagingTexture();
|
||||
~VKStagingTexture() override;
|
||||
|
||||
void CopyFromTexture(const AbstractTexture* src, const MathUtil::Rectangle<int>& src_rect,
|
||||
u32 src_layer, u32 src_level,
|
||||
|
@ -18,7 +18,7 @@ class VertexManager : public VertexManagerBase
|
||||
{
|
||||
public:
|
||||
VertexManager();
|
||||
~VertexManager();
|
||||
~VertexManager() override;
|
||||
|
||||
bool Initialize() override;
|
||||
|
||||
|
Reference in New Issue
Block a user