Code modernization: src/n*, src/o* (#6280)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 19 Aug 2017 09:30:46 +0000 (11:30 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Aug 2017 09:30:46 +0000 (11:30 +0200)
commit1992db1395d9c068327a7c08bac7a24ef7112274
tree3fb4982e4662a9519e08b57cab228c6b26d4a57f
parent4a1265ceb5919c53efaa8c50bbb0fe7955aa47aa
Code modernization: src/n*, src/o* (#6280)

* Code modernization: src/n*, src/o*

* empty function
* default constructor/destructor
* for range-based loops
* use emplace_back instead of push_back
* remove unused IWritableNodeDefManager::clone()
* C++ STL header style
* Pointer constness in some functions
12 files changed:
src/metadata.cpp
src/nameidmapping.cpp
src/nodedef.cpp
src/nodedef.h
src/nodemetadata.cpp
src/nodetimer.cpp
src/nodetimer.h
src/noise.cpp
src/noise.h
src/objdef.h
src/object_properties.cpp
src/pathfinder.cpp