summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-03-29 03:26:46 -0400
committerGitHub <noreply@github.com>2025-03-29 03:26:46 -0400
commit9819d66a478be3d57af9278e6c2cb433556a78d1 (patch)
tree07623114def6822d8abd7c61d77520fe98b391ce /Source/Core/DiscIO/VolumeVerifier.cpp
parentf00b7d39f0b2ff6cebbd78125bf7cdc888b9a6af (diff)
parent433c6ce0f20e33379985a56b58540197feeeff59 (diff)
Merge pull request #13221 from mitaclaw/nrvo-fails-1
GCC: Remedy NRVO Fails
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 5f4c254137..414e4ae3a1 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -697,7 +697,7 @@ std::string VolumeVerifier::GetPartitionName(std::optional<u32> type) const
// (French), Clásicos (Spanish), Capolavori (Italian), 클래식 게임 체험판 (Korean).
// If your language is not one of the languages above, consider leaving the string untranslated
// so that people will recognize it as the name of the game mode.
- name = Common::FmtFormatT("{0} (Masterpiece)", name);
+ return Common::FmtFormatT("{0} (Masterpiece)", name);
}
return name;
}