Skip to content

Commit

Permalink
Merge branch 'master' into switch
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/engine/logging.cpp
#	src/engine/logging.h
  • Loading branch information
dimag0g committed Feb 16, 2021
2 parents d34ae3f + e4880fa commit 766dce8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/engine/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
4 changes: 2 additions & 2 deletions src/engine/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) \
Expand Down

0 comments on commit 766dce8

Please sign in to comment.