diff --git a/src/engine/logging.cpp b/src/engine/logging.cpp index a85d21bc041..fad4fc1403f 100644 --- a/src/engine/logging.cpp +++ b/src/engine/logging.cpp @@ -31,7 +31,7 @@ namespace Logging #if defined( __SWITCH__ ) // Platforms which log to file std::ofstream logFile; #endif - + const char * GetDebugOptionName( const int name ) { if ( name & DBG_ENGINE ) diff --git a/src/engine/logging.h b/src/engine/logging.h index d202e0de031..409e9195a3b 100644 --- a/src/engine/logging.h +++ b/src/engine/logging.h @@ -100,8 +100,8 @@ namespace Logging } #define COUT( x ) \ { \ - Logging::logFile << x << std::endl; \ - Logging::logFile.flush(); \ + Logging::logFile << x << std::endl; \ + Logging::logFile.flush(); \ } #else // Default: log to STDERR #define COUT( x ) \