removed debugging

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1341 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2010-07-28 23:55:28 +00:00
parent 62dc87516d
commit ebfb4bb75c

View File

@ -148,12 +148,13 @@ return PROJECTM_SUCCESS;
int BuiltinFuncs::insert_func( Func *func ) {
assert(func);
if (func == 0) {
std::cerr << "Received a null function object, ignoring...." << std::endl;
return PROJECTM_ERROR;
}
std::cout << "inserting function " << func->getName() << std::endl;
// //std::cout << "inserting function " << func->getName() << std::endl;
const std::pair<std::string, Func*> pair = std::make_pair(std::string(func->getName()), func);
@ -165,7 +166,6 @@ int BuiltinFuncs::insert_func( Func *func ) {
if (!inserteePair.second) {
std::cerr << "Failed to insert builtin function \"" << func->getName() << "\" into collection! Bailing..." << std::endl;
abort();
}
return PROJECTM_SUCCESS;