remove debug statements
This commit is contained in:
@@ -12,15 +12,12 @@ namespace Archimedes {
|
||||
std::abort();
|
||||
}
|
||||
|
||||
std::cout << "Initializing...\n";
|
||||
|
||||
instance = this;
|
||||
|
||||
}
|
||||
|
||||
App::~App() {
|
||||
|
||||
std::cout << "\nExiting...\n";
|
||||
for(auto it = modules.begin(); it != modules.end(); it++) {
|
||||
void* handle = (*it)->getHandle();
|
||||
delete *it;
|
||||
@@ -32,7 +29,6 @@ namespace Archimedes {
|
||||
|
||||
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) {
|
||||
|
||||
@@ -13,7 +13,7 @@ class MinimalApp : public Archimedes::App {
|
||||
|
||||
void handleArgs(const int& argc, char* argv[]) {
|
||||
if(argc > 1) {
|
||||
for(int i = 0; i < argc; i++)
|
||||
for(int i = 1; i < argc; i++)
|
||||
load(argv[i], getBlacklist());
|
||||
} else {
|
||||
std::cout << "No modules to load\n";
|
||||
|
||||
Reference in New Issue
Block a user