Modernize client code (#6250)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Tue, 15 Aug 2017 18:30:30 +0000 (20:30 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Aug 2017 18:30:30 +0000 (20:30 +0200)
commit9dd0f952e09471f15f59a98c1ae650d99499cd77
treeef600d29b8b753353657ac6740d47208dd0e5d09
parent64c7a689ad8a596f6b72afe200d9ced20cdd9630
Modernize client code (#6250)

* Various code style fixes
* Use range based for loops
* Use empty instead of empty objects
* Use C++11 default keyword for trivial constructors and destructors
* Drop some useless casts
* Use emplace_back instead of push_back to improve performance of some vectors push
src/client/clientlauncher.cpp
src/client/clientlauncher.h
src/client/inputhandler.cpp
src/client/inputhandler.h
src/client/joystick_controller.cpp
src/client/joystick_controller.h
src/client/renderingengine.cpp
src/client/tile.cpp
src/client/tile.h