Commit 5103460
committed
Change iterator++ to ++iterator (cppcheck)
As iterators are non-primitive types, it's actually preferrable to use
pre-increment rather than post-increment. Additionally, collapsed a while
loop to a for loop to match the vast majority of iterator loops in the
surrounding code.1 parent a1bb00e commit 5103460
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
216 | | - | |
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
| |||
766 | 764 | | |
767 | 765 | | |
768 | 766 | | |
769 | | - | |
| 767 | + | |
770 | 768 | | |
771 | 769 | | |
772 | 770 | | |
| |||
1283 | 1281 | | |
1284 | 1282 | | |
1285 | 1283 | | |
1286 | | - | |
| 1284 | + | |
1287 | 1285 | | |
1288 | 1286 | | |
1289 | 1287 | | |
| |||
1301 | 1299 | | |
1302 | 1300 | | |
1303 | 1301 | | |
1304 | | - | |
| 1302 | + | |
1305 | 1303 | | |
1306 | 1304 | | |
1307 | 1305 | | |
| |||
0 commit comments