1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +00:00

Avoid redundant conversion to string

This commit is contained in:
elsid 2023-11-12 16:20:57 +01:00
parent e11bee250f
commit 01316f15b8
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -1115,7 +1115,7 @@ namespace MWGui
else
{
std::vector<std::string> split;
Misc::StringUtils::split(std::string{ tag }, split, ":");
Misc::StringUtils::split(tag, split, ":");
l10n::Manager& l10nManager = *MWBase::Environment::get().getL10nManager();