diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-12-13 03:14:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-13 03:14:41 +0100 |
| commit | 3f06d32dcdca4bba35a21326e811b0f8ceca218c (patch) | |
| tree | 1e4b7fb906d212317cc57dcd93483193d0c96be3 | |
| parent | 7b57a4a37d7897fcc47412e32d0e9e280f59fe4c (diff) | |
| parent | e06480a8ab61e67813fb698a162aabc867a20d78 (diff) | |
Merge pull request #12411 from lioncash/build
Software/SWGfx: Default destructor in cpp file
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWGfx.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWGfx.h | 3 |
2 files changed, 4 insertions, 1 deletions
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<SWOGLWindow> 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<SWOGLWindow> window); + explicit SWGfx(std::unique_ptr<SWOGLWindow> window); + ~SWGfx() override; bool IsHeadless() const override; virtual bool SupportsUtilityDrawing() const override; |
