diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-01 14:56:34 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-01 14:56:34 -0800 |
commit | fd4df6f9bb918d62ae31881230f2d5f8b09e129e (patch) | |
tree | bf1e86c4dae93eaec67d6f64d6587c30cdb672f3 /common.cpp | |
parent | 5d18d60e3b9f9f4d6e12f14e8c68b147429b9fb3 (diff) |
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
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |