]> git.tdb.fi Git - libs/gui.git/commit
Streamline iterators and loop constructs
authorMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 09:21:01 +0000 (11:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 14:20:17 +0000 (16:20 +0200)
commit24da3e62cf22663ef16b61b9510fbac49308f756
tree196bbf54831a66afbfa7192eac5c702325225d33
parentd828ade4727b8eedc4f8adf82b50196d17f2f58b
Streamline iterators and loop constructs

Use range-based for loops where appropriate and the auto type instead of
spelling out the entire iterator type.
source/graphics/cocoa/display.cpp
source/graphics/display.cpp
source/graphics/imageloader.cpp
source/graphics/windows/display.cpp
source/graphics/x11/display.cpp
source/input/bindings.cpp
source/input/controlscheme.cpp
source/input/hub.cpp
source/input/keys.cpp
source/input/linux/gamecontroller.cpp