Skip to content

Commit

Permalink
one more comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored May 8, 2020
1 parent 62162e8 commit aab25a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/g3log/g3log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,8 @@ namespace g3 {
#define LOG_IF(level, boolean_expression) \
if (false == (boolean_expression) || !g3::logLevel(level)) {} else INTERNAL_LOG_MESSAGE(level).stream()

// 'Design By Contract' stream API. For Broken Contracts:
// unit testing: it will throw std::runtime_error when a contract breaks
// I.R.L : it will exit the application by using fatal signal SIGABRT
// 'Design By Contract' stream API. Broken Contracts will exit the application by using fatal signal SIGABRT
// For unit testing, you can override the fatal handling using setFatalExitHandler(...). See tes_io.cpp for examples
#define CHECK(boolean_expression) \
if (true == (boolean_expression)) {} else INTERNAL_CONTRACT_MESSAGE(#boolean_expression).stream()

Expand Down

0 comments on commit aab25a4

Please sign in to comment.