- Timestamp:
- Mar 4, 2013, 10:47:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc
r8858 r9536 35 35 #include "util/Math.h" 36 36 #include "util/output/ConsoleWriter.h" 37 #include "util/output/OutputManager.h" 37 38 #include "core/Game.h" 38 39 #include "core/input/InputBuffer.h" … … 53 54 { 54 55 // Disable standard this->cout_ logging 55 ConsoleWriter::getInstance().disable();56 OutputManager::getInstance().getConsoleWriter().disable(); 56 57 // Redirect std::cout to an ostringstream 57 58 // (Other part is in the initialiser list) … … 109 110 std::cout.rdbuf(this->cout_.rdbuf()); 110 111 // Enable standard this->cout_ logging again 111 ConsoleWriter::getInstance().enable();112 OutputManager::getInstance().getConsoleWriter().enable(); 112 113 113 114 resetTerminalMode();
Note: See TracChangeset
for help on using the changeset viewer.