diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-12-12 20:33:41 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-12-12 20:33:43 -0500 |
| commit | e06480a8ab61e67813fb698a162aabc867a20d78 (patch) | |
| tree | 1e4b7fb906d212317cc57dcd93483193d0c96be3 /Source/Core/VideoBackends/Software/SWGfx.cpp | |
| parent | 7b57a4a37d7897fcc47412e32d0e9e280f59fe4c (diff) | |
Software/SWGfx: Default destructor in cpp file
Fixes a build failure with clang 17.
The destructor needs to be in the cpp file, since we have a forward
declared std::unique_ptr type as part of the class. So technically the
default inline destructor could invoke without seeing the full data type
definition.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWGfx.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWGfx.cpp | 2 |
1 files changed, 2 insertions, 0 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(); |
