From bea6f6b9fb9c9a4cb1a86e2bd6124c272ce52a10 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 18 Sep 2017 03:17:35 +0200 Subject: [PATCH] uncommented releaseModelInstance to fix a warning --- .../worldengine/lib-collision/src/Management/VMapManager2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/worldengine/lib-collision/src/Management/VMapManager2.cpp b/modules/worldengine/lib-collision/src/Management/VMapManager2.cpp index 2751db4ea..8dc9d770d 100644 --- a/modules/worldengine/lib-collision/src/Management/VMapManager2.cpp +++ b/modules/worldengine/lib-collision/src/Management/VMapManager2.cpp @@ -274,7 +274,7 @@ namespace VMAP void VMapManager2::releaseModelInstance(const std::string &filename) { - /*//! Critical section, thread safe access to iLoadedModelFiles + //! Critical section, thread safe access to iLoadedModelFiles TRINITY_GUARD(ACE_Thread_Mutex, LoadedModelFilesLock); ModelFileMap::iterator model = iLoadedModelFiles.find(filename); @@ -290,7 +290,7 @@ namespace VMAP #endif delete model->second.getModel(); iLoadedModelFiles.erase(model); - }*/ + } } bool VMapManager2::existsMap(const char* basePath, unsigned int mapId, int x, int y)