From 9e3e6dc5ec8ea63d65c635fcac0c80e0cd0e666d Mon Sep 17 00:00:00 2001
From: est31 <MTest31@outlook.com>
Date: Tue, 30 Jun 2015 21:34:23 +0200
Subject: [PATCH] Make m_blocks_cache private

@RealBadAngel has removed all outside access of the cache.
---
 src/minimap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/minimap.h b/src/minimap.h
index 3cb7da898..4ca0451b7 100644
--- a/src/minimap.h
+++ b/src/minimap.h
@@ -113,6 +113,7 @@ class MinimapUpdateThread : public UpdateThread
 {
 private:
 	MinimapUpdateQueue m_queue;
+	std::map<v3s16, MinimapMapblock *> m_blocks_cache;
 
 protected:
 	const char *getName()
@@ -139,7 +140,6 @@ class MinimapUpdateThread : public UpdateThread
 	video::IVideoDriver *driver;
 	ITextureSource *tsrc;
 	MinimapData *data;
-	std::map<v3s16, MinimapMapblock *> m_blocks_cache;
 };
 
 class Mapper
-- 
GitLab