Base: Coverity cleanup

This commit is contained in:
Chris Hennes
2025-03-02 21:16:01 -06:00
committed by Benjamin Nauck
parent f3bb974855
commit d850e87567
2 changed files with 6 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ Branding::XmlConfig Branding::getUserDefines() const
std::string name = child.localName().toLatin1().constData();
std::string value = child.text().toUtf8().constData();
if (std::ranges::find(filter, name) != filter.end()) {
cfg[name] = value;
cfg[name] = std::move(value);
}
child = child.nextSiblingElement();
}