mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user