diff --git a/wsi/extensions/wsi_extension.hpp b/wsi/extensions/wsi_extension.hpp index 72d0d7e..afe3732 100644 --- a/wsi/extensions/wsi_extension.hpp +++ b/wsi/extensions/wsi_extension.hpp @@ -59,6 +59,8 @@ namespace wsi class wsi_ext { public: + virtual ~wsi_ext() = default; + /** * @brief Get the name of the extension. * diff --git a/wsi/headless/swapchain.hpp b/wsi/headless/swapchain.hpp index 61744a3..b6c5eb4 100644 --- a/wsi/headless/swapchain.hpp +++ b/wsi/headless/swapchain.hpp @@ -95,7 +95,7 @@ protected: * * @param image Handle to the image about to be released. */ - void destroy_image(wsi::swapchain_image &image); + void destroy_image(wsi::swapchain_image &image) override; /** * @brief Sets the present payload for a swapchain image.