diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/listboxbasic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc index d774930..bf75684 100644 --- a/plugingui/listboxbasic.cc +++ b/plugingui/listboxbasic.cc @@ -74,9 +74,9 @@ void ListBoxBasic::addItem(std::string name, std::string value) addItems(items); } -void ListBoxBasic::addItems(std::vector<ListBoxBasic::Item> &items) +void ListBoxBasic::addItems(std::vector<ListBoxBasic::Item> &newItems) { - for(auto item : items) + for(auto& item : newItems) { items.push_back(item); } |