Performance
- Removed "std::endl" in cases where the autoflush is only going to slow things down.
This commit is contained in:
@@ -68,10 +68,10 @@ int Context::handleInteractive ()
|
||||
}
|
||||
|
||||
// TODO Integrate regular task error handling, using Context::debug.
|
||||
catch (int e) { std::cout << e << std::endl; }
|
||||
catch (const char* e) { std::cout << e << std::endl; }
|
||||
catch (std::string& e) { std::cout << e << std::endl; }
|
||||
catch (...) { std::cout << "Unknown error." << std::endl; }
|
||||
catch (int e) { std::cout << e << "\n"; }
|
||||
catch (const char* e) { std::cout << e << "\n"; }
|
||||
catch (std::string& e) { std::cout << e << "\n"; }
|
||||
catch (...) { std::cout << "Unknown error.\n"; }
|
||||
|
||||
logWrite ("---");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user