Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Richard Gobeille
EDuke32
Commits
8b926d44
Commit
8b926d44
authored
May 26, 2022
by
Richard Gobeille
Browse files
loguru: add ABORT_IF_F macro
parent
b1de34b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/build/include/loguru.hpp
View file @
8b926d44
...
...
@@ -1088,6 +1088,7 @@ LOGURU_ANONYMOUS_NAMESPACE_END
// Message is optional
#define ABORT_F(...) loguru::log_and_abort(0, "ABORT: ", __FILE__, __LINE__, __VA_ARGS__)
#define ABORT_IF_F(cond, ...) (LOGURU_PREDICT_TRUE((cond) == false)) ? (void)0 : loguru::log_and_abort(0, "ABORT: ", __FILE__, __LINE__, __VA_ARGS__)
// --------------------------------------------------------------------
// CHECK_F macros:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment