Various code cleanup & little performance improvement on HTTP download (#5772)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 20 May 2017 06:15:56 +0000 (08:15 +0200)
committerGitHub <noreply@github.com>
Sat, 20 May 2017 06:15:56 +0000 (08:15 +0200)
commitce9802266ef1def339ec2e119c59090d0fd07c90
tree7a408a21c0448030d162cbcc88b74febf5aefb87
parent35267406aa849195b72bf2edf63fecb16be013bc
Various code cleanup & little performance improvement on HTTP download (#5772)

* Disable or remove unused enum members/functions
* Tiny code style fixes
* Make some functions const
* Replace ClientMediaDownloader std::unordered_map with std::map
15 files changed:
src/activeobject.h
src/camera.h
src/chat.cpp
src/chat.h
src/client.cpp
src/client.h
src/clientiface.cpp
src/clientiface.h
src/clientmedia.cpp
src/clientmedia.h
src/clientobject.h
src/content_cao.cpp
src/content_cao.h
src/nodedef.cpp
src/nodedef.h