mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-06-02 08:38:48 +02:00
Move iteration into own scope
This commit is contained in:
parent
5a892eedb7
commit
1ac38cb3b3
|
@ -126,6 +126,7 @@ void doStart(int argc, char **argv) {
|
|||
// Order modules list by dependencies.
|
||||
gLoadedModules = OrderModulesByDependencies(gLoadedModules);
|
||||
|
||||
{
|
||||
// make sure the plugin backend module is at the end.
|
||||
auto it = std::find_if(gLoadedModules.begin(),
|
||||
gLoadedModules.end(),
|
||||
|
@ -135,6 +136,7 @@ void doStart(int argc, char **argv) {
|
|||
gLoadedModules.erase(it);
|
||||
gLoadedModules.push_back(module);
|
||||
}
|
||||
}
|
||||
|
||||
bool aromaBaseModuleLoaded = false;
|
||||
for (auto &curModule : gLoadedModules) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user