aboutsummaryrefslogtreecommitdiff
path: root/src/lua/common/je_lua_shared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/common/je_lua_shared.cpp')
-rw-r--r--src/lua/common/je_lua_shared.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/common/je_lua_shared.cpp b/src/lua/common/je_lua_shared.cpp
index 55832fd..acf1494 100644
--- a/src/lua/common/je_lua_shared.cpp
+++ b/src/lua/common/je_lua_shared.cpp
@@ -36,7 +36,7 @@ namespace JinEngine
{
if (!isDependOn(key))
return;
- std::map<int, SharedBase*>::iterator it = mDependencies.find(key);
+ DepsMap::iterator it = mDependencies.find(key);
SharedBase* dep = it->second;
// Remove lua reference.
luax_removereference(mL, this, dep);
@@ -46,7 +46,7 @@ namespace JinEngine
void SharedBase::removeDependency(SharedBase* dependency)
{
- for (std::map<int, SharedBase*>::iterator it = mDependencies.begin(); it != mDependencies.end();)
+ for (DepsMap::iterator it = mDependencies.begin(); it != mDependencies.end();)
{
SharedBase* dep = it->second;
if (dep == dependency)