mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
UICommon/GameFile: Default no-arg constructor and destructor within the cpp file
A GameFile instance contains quite a lot of non-trivial types, so default construction and destruction in the same translation unit.
This commit is contained in:
@ -44,9 +44,9 @@ bool operator!=(const GameBanner& lhs, const GameBanner& rhs);
|
||||
class GameFile final
|
||||
{
|
||||
public:
|
||||
GameFile() = default;
|
||||
GameFile();
|
||||
explicit GameFile(const std::string& path);
|
||||
~GameFile() = default;
|
||||
~GameFile();
|
||||
|
||||
bool IsValid() const;
|
||||
const std::string& GetFilePath() const { return m_file_path; }
|
||||
|
Reference in New Issue
Block a user