diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp index 78d2d14d63..7b9196063d 100644 --- a/Source/Core/VideoBackends/Software/SWGfx.cpp +++ b/Source/Core/VideoBackends/Software/SWGfx.cpp @@ -22,6 +22,8 @@ SWGfx::SWGfx(std::unique_ptr window) : m_window(std::move(window)) { } +SWGfx::~SWGfx() = default; + bool SWGfx::IsHeadless() const { return m_window->IsHeadless(); diff --git a/Source/Core/VideoBackends/Software/SWGfx.h b/Source/Core/VideoBackends/Software/SWGfx.h index bd9604fe3c..415564a19d 100644 --- a/Source/Core/VideoBackends/Software/SWGfx.h +++ b/Source/Core/VideoBackends/Software/SWGfx.h @@ -12,7 +12,8 @@ namespace SW class SWGfx final : public AbstractGfx { public: - SWGfx(std::unique_ptr window); + explicit SWGfx(std::unique_ptr window); + ~SWGfx() override; bool IsHeadless() const override; virtual bool SupportsUtilityDrawing() const override;