Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
simon committed Dec 14, 2021
1 parent d65ab88 commit 16c6210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 40,7 @@
#endif

#ifdef _MSC_VER
#define DEBUG_BREAK __debugbreak
#define DEBUG_BREAK __debugbreak()
#else
#define DEBUG_BREAK assert(false)
#endif
Expand Down Expand Up @@ -92,7 92,7 @@ void LogMessage::Finish() {
}

if (level_ == LOGLEVEL_FATAL) {
DEBUG_BREAK();
DEBUG_BREAK;
abort();
}
}
Expand Down

0 comments on commit 16c6210

Please sign in to comment.