diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-18 12:39:27 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-30 13:46:50 +0000 |
commit | 8c3b9c0d847656f7a254490047d40cf54e2847a1 (patch) | |
tree | 20eeb21c47ab95a97cdd7161d748b3df7fab0be6 /sources/shiboken2/ApiExtractor/typesystem.cpp | |
parent | fee4a7f9fa7177e94ab4853b049fca093e2849fc (diff) |
libshiboken: Refactor loops
Avoid repeated invocation of container.end() in the loop condition
by either assigning to a variable or use range-based-for where
possible.
Use auto for iterators to allow for changing the container type.
Task-number: PYSIDE-727
Change-Id: I5217207a3a7fb60823ccbcbf0915bf6cf21a3e4d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystem.cpp')
0 files changed, 0 insertions, 0 deletions