Changeset 9548 for code/branches
- Timestamp:
- Mar 12, 2013, 10:12:45 PM (12 years ago)
- Location:
- code/branches/testing/src/libraries/core/command
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/core/command/IOConsolePOSIX.cc
r9536 r9548 76 76 77 77 // Disable standard std::cout logging 78 OutputManager::getInstance().getConsoleWriter() .disable();78 OutputManager::getInstance().getConsoleWriter()->disable(); 79 79 // Redirect std::cout to an ostringstream 80 80 // (Other part is in the initialiser list) … … 104 104 std::cout.rdbuf(this->cout_.rdbuf()); 105 105 // Enable standard std::cout logging again 106 OutputManager::getInstance().getConsoleWriter() .enable();106 OutputManager::getInstance().getConsoleWriter()->enable(); 107 107 } 108 108 -
code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc
r9536 r9548 54 54 { 55 55 // Disable standard this->cout_ logging 56 OutputManager::getInstance().getConsoleWriter() .disable();56 OutputManager::getInstance().getConsoleWriter()->disable(); 57 57 // Redirect std::cout to an ostringstream 58 58 // (Other part is in the initialiser list) … … 110 110 std::cout.rdbuf(this->cout_.rdbuf()); 111 111 // Enable standard this->cout_ logging again 112 OutputManager::getInstance().getConsoleWriter() .enable();112 OutputManager::getInstance().getConsoleWriter()->enable(); 113 113 114 114 resetTerminalMode();
Note: See TracChangeset
for help on using the changeset viewer.