Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Managers/AIManager.cpp

Diff revisions: vs.
  @@ -27,14 +27,14 @@
27 27 {
28 28 WriteLock w_lock(_updateMutex);
29 29 for (AITeamMap::value_type& entity : _aiTeams) {
30 - MemoryManager::SAFE_DELETE( entity.second );
30 + MemoryManager::DELETE( entity.second );
31 31 }
32 32 _aiTeams.clear();
33 33 }
34 34 {
35 35 WriteLock w_lock(_navMeshMutex);
36 36 for (NavMeshMap::value_type& it : _navMeshes) {
37 - MemoryManager::SAFE_DELETE( it.second );
37 + MemoryManager::DELETE( it.second );
38 38 }
39 39 _navMeshes.clear();
40 40
  @@ -136,7 +136,7 @@
136 136 WriteLock w_lock(_navMeshMutex);
137 137 NavMeshMap::iterator it = _navMeshes.find(radius);
138 138 DIVIDE_ASSERT(it != _navMeshes.end(), "AIManager error: Can't destroy NavMesh for specified radius (NavMesh not found)!");
139 - MemoryManager::SAFE_DELETE( it->second );
139 + MemoryManager::DELETE( it->second );
140 140 _navMeshes.erase(it);
141 141 w_lock.unlock();
142 142