Common: Drop fallback path for HeterogeneousContainers
This commit is contained in:
@ -44,12 +44,12 @@ std::pair<const char*, u32> Host::LookupTranslationString(const std::string_view
|
||||
}
|
||||
|
||||
s_translation_string_mutex.lock_shared();
|
||||
ctx_it = UnorderedStringMapFind(s_translation_string_map, context);
|
||||
ctx_it = s_translation_string_map.find(context);
|
||||
|
||||
if (UNLIKELY(ctx_it == s_translation_string_map.end()))
|
||||
goto add_string;
|
||||
|
||||
msg_it = UnorderedStringMapFind(ctx_it->second, msg);
|
||||
msg_it = ctx_it->second.find(msg);
|
||||
if (UNLIKELY(msg_it == ctx_it->second.end()))
|
||||
goto add_string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user