- 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/IOConsolePOSIX.cc
r8858 r9536 38 38 #include "util/Math.h" 39 39 #include "util/output/ConsoleWriter.h" 40 #include "util/output/OutputManager.h" 40 41 #include "core/Game.h" 41 42 #include "core/input/InputBuffer.h" … … 75 76 76 77 // Disable standard std::cout logging 77 ConsoleWriter::getInstance().disable();78 OutputManager::getInstance().getConsoleWriter().disable(); 78 79 // Redirect std::cout to an ostringstream 79 80 // (Other part is in the initialiser list) … … 103 104 std::cout.rdbuf(this->cout_.rdbuf()); 104 105 // Enable standard std::cout logging again 105 ConsoleWriter::getInstance().enable();106 OutputManager::getInstance().getConsoleWriter().enable(); 106 107 } 107 108
Note: See TracChangeset
for help on using the changeset viewer.