Base: Coverity cleanup
This commit is contained in:
committed by
Benjamin Nauck
parent
f3bb974855
commit
d850e87567
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user