[Orxonox-commit 4879] r9548 - code/branches/testing/src/libraries/core/command

landauf at orxonox.net landauf at orxonox.net
Tue Mar 12 22:12:46 CET 2013


Author: landauf
Date: 2013-03-12 22:12:45 +0100 (Tue, 12 Mar 2013)
New Revision: 9548

Modified:
   code/branches/testing/src/libraries/core/command/IOConsolePOSIX.cc
   code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc
Log:
eclipse missed some files...

Modified: code/branches/testing/src/libraries/core/command/IOConsolePOSIX.cc
===================================================================
--- code/branches/testing/src/libraries/core/command/IOConsolePOSIX.cc	2013-03-12 21:05:25 UTC (rev 9547)
+++ code/branches/testing/src/libraries/core/command/IOConsolePOSIX.cc	2013-03-12 21:12:45 UTC (rev 9548)
@@ -75,7 +75,7 @@
         this->lastTerminalHeight_ = this->terminalHeight_;
 
         // Disable standard std::cout logging
-        OutputManager::getInstance().getConsoleWriter().disable();
+        OutputManager::getInstance().getConsoleWriter()->disable();
         // Redirect std::cout to an ostringstream
         // (Other part is in the initialiser list)
         std::cout.rdbuf(this->origCout_.rdbuf());
@@ -103,7 +103,7 @@
         // Restore this->cout_ redirection
         std::cout.rdbuf(this->cout_.rdbuf());
         // Enable standard std::cout logging again
-        OutputManager::getInstance().getConsoleWriter().enable();
+        OutputManager::getInstance().getConsoleWriter()->enable();
     }
 
     void IOConsole::preUpdate(const Clock& time)

Modified: code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc
===================================================================
--- code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc	2013-03-12 21:05:25 UTC (rev 9547)
+++ code/branches/testing/src/libraries/core/command/IOConsoleWindows.cc	2013-03-12 21:12:45 UTC (rev 9548)
@@ -53,7 +53,7 @@
         , lastOutputLineHeight_(0)
     {
         // Disable standard this->cout_ logging
-        OutputManager::getInstance().getConsoleWriter().disable();
+        OutputManager::getInstance().getConsoleWriter()->disable();
         // Redirect std::cout to an ostringstream
         // (Other part is in the initialiser list)
         std::cout.rdbuf(this->origCout_.rdbuf());
@@ -109,7 +109,7 @@
         // Restore this->cout_ redirection
         std::cout.rdbuf(this->cout_.rdbuf());
         // Enable standard this->cout_ logging again
-        OutputManager::getInstance().getConsoleWriter().enable();
+        OutputManager::getInstance().getConsoleWriter()->enable();
 
         resetTerminalMode();
         this->shell_->destroy();




More information about the Orxonox-commit mailing list