help
This commit is contained in:
@@ -32,6 +32,7 @@ App::~App() {
|
||||
bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
|
||||
|
||||
std::cout << "print twice!\n";
|
||||
void* h = dlopen(lib.c_str(), RTLD_NOW);
|
||||
|
||||
if(!h) {
|
||||
@@ -47,7 +48,6 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
|
||||
|
||||
Module* m = create(h, App::Get());
|
||||
|
||||
std::cout << "print twice!\n";
|
||||
if(!blacklist.empty()) {
|
||||
std::cout << "second round!\n";
|
||||
for(auto it = blacklist.begin(); it != blacklist.end(); it++) {
|
||||
|
||||
Reference in New Issue
Block a user