libec/loadSymbols: Fixed warning where an Iterator was used instead of a MapIterator
authorJerome St-Louis <jerome@ecere.com>
Sat, 31 Dec 2011 17:57:32 +0000 (12:57 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sat, 31 Dec 2011 17:57:32 +0000 (12:57 -0500)
compiler/libec/src/loadSymbols.ec

index 5889a7d..316e6e7 100644 (file)
@@ -789,7 +789,7 @@ public void ImportModule(char * name, ImportType importType, AccessMode importAc
                // module loaded in another file will not invalidate our objects.
                if(!inCompiler)
                {
-                  Iterator<List<Module> > it { loadedModules };
+                  MapIterator<String, List<Module> > it { map = loadedModules };
                   if(!it.Index(file, false))
                   {
                      Module firstModule = eModule_LoadStrict(__thisModule, file, importAccess);