mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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.
This commit is contained in:
parent
7b57a4a37d
commit
e06480a8ab
2 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue