INI: Fix C5051 warning.

Comment out the attribute, can be used in the future.
C++20 requirement.
This commit is contained in:
lightningterror 2022-12-23 02:39:01 +01:00
parent bc7ffe4720
commit 9d968e7906
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ std::vector<std::pair<std::string, std::string>> INISettingsInterface::GetKeyVal
{ {
for (Entry& key : keys) for (Entry& key : keys)
{ {
if (!m_ini.GetAllValues(section, key.pItem, values)) [[unlikely]] if (!m_ini.GetAllValues(section, key.pItem, values)) // [[unlikely]]
{ {
Console.Error("Got no values for a key returned from GetAllKeys!"); Console.Error("Got no values for a key returned from GetAllKeys!");
continue; continue;