mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
UICommon/GameFile: Use in-class initializers where applicable
Allows deduplicating code within the constructor initializer list.
This commit is contained in:
@ -111,8 +111,7 @@ GameFile::LookupUsingConfigLanguage(const std::map<DiscIO::Language, std::string
|
||||
return Lookup(GetConfigLanguage(), strings);
|
||||
}
|
||||
|
||||
GameFile::GameFile(const std::string& path)
|
||||
: m_file_path(path), m_region(DiscIO::Region::Unknown), m_country(DiscIO::Country::Unknown)
|
||||
GameFile::GameFile(const std::string& path) : m_file_path(path)
|
||||
{
|
||||
{
|
||||
std::string name, extension;
|
||||
|
Reference in New Issue
Block a user