Output debug info only in debug mode

master
Marius Kintel 2014-06-24 19:22:15 -04:00
parent ccb9495354
commit b81ab0530d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ bool ModuleCache::evaluate(const std::string &filename, FileModule *&module)
std::string pathname = boosty::stringy(fs::path(filename).parent_path());
lib_mod = dynamic_cast<FileModule*>(parse(textbuf.str().c_str(), pathname.c_str(), false));
PRINTB_NOCACHE(" compiled module: %p", lib_mod);
PRINTDB(" compiled module: %p", lib_mod);
// We defer deletion so we can ensure that the new module won't
// have the same address as the old