1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 12:42:41 +01:00

Add missing virtual desctructors (#5094)

This commit is contained in:
Dzmitry Malyshau 2018-09-07 07:35:40 -04:00 committed by Ivan
parent 46812d46ba
commit 27474316fd
3 changed files with 5 additions and 3 deletions

View File

@ -30,6 +30,7 @@ namespace rsx
f32 scale_x = 1.f;
f32 scale_y = 1.f;
virtual ~sampled_image_descriptor_base() {}
virtual u32 encoded_component_map() const = 0;
};
}

View File

@ -67,6 +67,7 @@ class GSFrameBase
public:
GSFrameBase() = default;
GSFrameBase(const GSFrameBase&) = delete;
virtual ~GSFrameBase() {}
virtual void close() = 0;
virtual bool shown() = 0;

View File

@ -194,8 +194,8 @@ namespace vk
public:
using mem_handle_t = void *;
mem_allocator_base(VkDevice dev, VkPhysicalDevice /*pdev*/) : m_device(dev) {};
~mem_allocator_base() {};
mem_allocator_base(VkDevice dev, VkPhysicalDevice /*pdev*/) : m_device(dev) {}
virtual ~mem_allocator_base() {}
virtual void destroy() = 0;
@ -1396,7 +1396,7 @@ public:
m_surface_format = format;
}
~swapchain_base(){}
virtual ~swapchain_base() {}
virtual void create(display_handle_t& handle) = 0;
virtual void destroy(bool full = true) = 0;