mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Changed iterators from iter++ to ++iter
Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
This commit is contained in:
@@ -136,7 +136,7 @@ wcstring_list_t completions_to_wcstring_list( const std::vector<completion_t> &l
|
||||
{
|
||||
wcstring_list_t strings;
|
||||
strings.reserve(list.size());
|
||||
for (std::vector<completion_t>::const_iterator iter = list.begin(); iter != list.end(); iter++) {
|
||||
for (std::vector<completion_t>::const_iterator iter = list.begin(); iter != list.end(); ++iter) {
|
||||
strings.push_back(iter->completion);
|
||||
}
|
||||
return strings;
|
||||
|
||||
Reference in New Issue
Block a user