change Module::self to reverse_iterator
This commit is contained in:
@@ -70,8 +70,8 @@ void App::load(std::string lib) {
|
||||
}
|
||||
}
|
||||
|
||||
m->setSelf(modules.end());
|
||||
modules.push_back(m);
|
||||
m->setSelf(modules.rbegin());
|
||||
}
|
||||
|
||||
void App::unload(std::list<Module*>::iterator it) {
|
||||
|
||||
Reference in New Issue
Block a user