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