diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-14 00:44:45 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-14 00:44:45 +0200 |
commit | 5d06ecb36668eeccc152da19cd19bdebcc30f92c (patch) | |
tree | c56cbb0f13058bf873d7043f658924b05873c0f2 /src/socket.cpp | |
parent | 725a0f56db007d46000e6cd18e31824e5b60ee73 (diff) | |
download | minetest-5d06ecb36668eeccc152da19cd19bdebcc30f92c.tar.gz minetest-5d06ecb36668eeccc152da19cd19bdebcc30f92c.tar.bz2 minetest-5d06ecb36668eeccc152da19cd19bdebcc30f92c.zip |
Server::AsyncRunStep + Server::sendAddNode: modernize code
* Use various modern for loops
* Make some loop iterator constants, whereas there weren't
* Use empty on some size() > 0 tests
* Various little codestyle fixes
* Fix an hidden scope variable in Server::SendBlockNoLock
Diffstat (limited to 'src/socket.cpp')
0 files changed, 0 insertions, 0 deletions