l_server, clientenvironment, clientiface: code modernization
authorLoic Blot <loic.blot@unix-experience.fr>
Thu, 17 Aug 2017 06:11:39 +0000 (08:11 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Thu, 17 Aug 2017 06:11:39 +0000 (08:11 +0200)
commit3e80bf933f890c95badbf8896d6a89f4bb708389
tree4cb133b21fd2278696ff80a4985f3f8fb5039467
parent9c8fec83af2c94791865cd82ee18abdc54f913a1
l_server, clientenvironment, clientiface: code modernization

* use range-based for loops
* use refs on some exceptions & one setter
src/clientenvironment.cpp
src/clientenvironment.h
src/clientiface.h
src/script/lua_api/l_server.cpp