help
This commit is contained in:
@@ -65,8 +65,8 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
|
||||
if(!m->deps.empty()) {
|
||||
bool skip = false;
|
||||
for(auto s = blacklist.begin(); s != blacklist.end(); s++) {
|
||||
auto it = m->deps.find(*s);
|
||||
for(std::string s : blacklist) {
|
||||
auto it = m->deps.find(s);
|
||||
if(it != m->deps.end())
|
||||
skip = true;
|
||||
if(skip) {
|
||||
@@ -74,7 +74,7 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
continue;
|
||||
} else {
|
||||
std::cout << "Gets to load deps!\n";
|
||||
load(it->second, blacklist);
|
||||
load(it->second);
|
||||
std::cout << "Gets passed load deps!\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user