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