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