1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

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
This commit is contained in:
Loïc Blot
2017-05-20 08:15:56 +02:00
committed by GitHub
parent 35267406aa
commit ce9802266e
15 changed files with 18 additions and 85 deletions

View File

@@ -467,8 +467,7 @@ public:
Minimap* getMinimap() { return m_minimap; }
void setCamera(Camera* camera) { m_camera = camera; }
Camera* getCamera ()
{ return m_camera; }
Camera* getCamera () { return m_camera; }
bool shouldShowMinimap() const;