debug
This commit is contained in:
@@ -48,6 +48,7 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
Module* m = create(h, App::Get());
|
||||
|
||||
if(!blacklist.empty()) {
|
||||
std::cout << "second round!\n";
|
||||
for(auto it = blacklist.begin(); it != blacklist.end(); it++) {
|
||||
if(*it == m->getName()) {
|
||||
std::cout << "Module \"" << *it << "\" is already loaded!\n";
|
||||
@@ -56,6 +57,7 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
std::cout << "not the for loop!\n";
|
||||
}
|
||||
|
||||
blacklist.push_back(m->getName());
|
||||
|
||||
Reference in New Issue
Block a user