From 3c91ad8fc2b7a7888503e85d31bfe286afa6560d Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Tue, 17 Feb 2015 15:04:08 +0100 Subject: Replace std::list by std::vector into timerUpdate calls --- src/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index e2736d560..f4ea54f30 100644 --- a/src/map.h +++ b/src/map.h @@ -277,13 +277,13 @@ public: Saves modified blocks before unloading on MAPTYPE_SERVER. */ void timerUpdate(float dtime, float unload_timeout, - std::list *unloaded_blocks=NULL); + std::vector *unloaded_blocks=NULL); /* Unloads all blocks with a zero refCount(). Saves modified blocks before unloading on MAPTYPE_SERVER. */ - void unloadUnreferencedBlocks(std::list *unloaded_blocks=NULL); + void unloadUnreferencedBlocks(std::vector *unloaded_blocks=NULL); // Deletes sectors and their blocks from memory // Takes cache into account -- cgit v1.2.3