ServerEnvironment::step: modernize loops 4182/head
authorLoic Blot <loic.blot@unix-experience.fr>
Fri, 11 Aug 2017 07:57:27 +0000 (09:57 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Fri, 11 Aug 2017 07:57:27 +0000 (09:57 +0200)
commitbb1c71158613c1f17c57e53ad489b076a11e3828
treed8dccb0a87b3deb962cf4b06abec21aa93d04115
parenta4048e4e2e6d3c9177270437687118b93c33bf77
ServerEnvironment::step: modernize loops

Use various ranged-based for loops in ServerEnvironment::step
Also set ServerObject::getBasePosition const to be compliant
ServerEnvironment::deleteParticleSpawner: use a const iterator
src/serverenvironment.cpp
src/serverobject.h