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:
Lioncash
2019-05-28 05:53:36 -04:00
parent 49ca31467d
commit 8e65869484
2 changed files with 6 additions and 2 deletions

View File

@ -111,6 +111,8 @@ GameFile::LookupUsingConfigLanguage(const std::map<DiscIO::Language, std::string
return Lookup(GetConfigLanguage(), strings);
}
GameFile::GameFile() = default;
GameFile::GameFile(const std::string& path) : m_file_path(path)
{
{
@ -159,6 +161,8 @@ GameFile::GameFile(const std::string& path) : m_file_path(path)
}
}
GameFile::~GameFile() = default;
bool GameFile::IsValid() const
{
if (!m_valid)