Fix clazy warning

reference instead of copy
This commit is contained in:
2026-02-14 14:32:19 +01:00
parent d0c392ca0e
commit 239c4f8f94
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void UI_combobox::from_json(const json &j)
if (j.contains("options"))
{
this->m_options.clear();
for (auto option : j["options"])
for (auto &option : j["options"])
{
this->m_options.push_back(option);
}