mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 21:53:31 +01:00
Merge pull request #11082 from AdmiralCurtiss/getstringt
VolumeVerifier: Add missing assignment to summary_text, and prevent such errors in the future by adding [[nodiscard]] to GetStringT().
This commit is contained in:
commit
3ee4c6a33b
@ -29,7 +29,7 @@ using StringTranslator = std::string (*)(const char* text);
|
|||||||
void RegisterMsgAlertHandler(MsgAlertHandler handler);
|
void RegisterMsgAlertHandler(MsgAlertHandler handler);
|
||||||
void RegisterStringTranslator(StringTranslator translator);
|
void RegisterStringTranslator(StringTranslator translator);
|
||||||
|
|
||||||
std::string GetStringT(const char* string);
|
[[nodiscard]] std::string GetStringT(const char* string);
|
||||||
|
|
||||||
bool MsgAlertFmtImpl(bool yes_no, MsgType style, Common::Log::LogType log_type, const char* file,
|
bool MsgAlertFmtImpl(bool yes_no, MsgType style, Common::Log::LogType log_type, const char* file,
|
||||||
int line, fmt::string_view format, const fmt::format_args& args);
|
int line, fmt::string_view format, const fmt::format_args& args);
|
||||||
|
@ -1432,6 +1432,7 @@ void VolumeVerifier::Finish()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_result.summary_text =
|
||||||
Common::GetStringT("Problems with low severity were found. They will most "
|
Common::GetStringT("Problems with low severity were found. They will most "
|
||||||
"likely not prevent the game from running.");
|
"likely not prevent the game from running.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user