Merge pull request #13221 from mitaclaw/nrvo-fails-1

GCC: Remedy NRVO Fails
This commit is contained in:
JMC47
2025-03-29 03:26:46 -04:00
committed by GitHub
6 changed files with 11 additions and 17 deletions

View File

@ -837,7 +837,7 @@ std::string GameFile::GetFileFormatName() const
{
std::string name = DiscIO::GetName(m_blob_type, true);
if (m_is_nkit)
name = Common::FmtFormatT("{0} (NKit)", name);
return Common::FmtFormatT("{0} (NKit)", name);
return name;
}
}