spellcheck
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Archimedes {
|
||||
for(auto it = runOrder.begin(); it != runOrder.end(); it++) {
|
||||
|
||||
if(m->deps.find(*it) != m->deps.end()) {
|
||||
m->depsInstances[*it] = modules[*it];
|
||||
m->moduleInstances[*it] = modules[*it];
|
||||
//modules should be located after their dependencies
|
||||
if(std::distance(roInsert, it) <= 0) {
|
||||
roInsert = ++it--;
|
||||
@@ -129,9 +129,9 @@ namespace Archimedes {
|
||||
continue;
|
||||
|
||||
if(std::holds_alternative<std::string>(it.second))
|
||||
m->depsInstances[it.first] = load(std::get<std::string>(it.second));
|
||||
m->moduleInstances[it.first] = load(std::get<std::string>(it.second));
|
||||
else
|
||||
m->depsInstances[it.first] = load(std::get<Module*>(it.second));
|
||||
m->moduleInstances[it.first] = load(std::get<Module*>(it.second));
|
||||
}
|
||||
|
||||
//reinsert once final order has been reached
|
||||
|
||||
Reference in New Issue
Block a user