Switched type of 'passed' to bool instead of int
This commit is contained in:
parent
59e91f9404
commit
a9f325874a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ struct criterion_assert_args {
|
|||
struct criterion_assert_args args = { \
|
||||
CR_EXPAND(CR_VA_SKIP(__VA_ARGS__)) \
|
||||
}; \
|
||||
int passed = !!(CR_EXPAND(CR_GET_CONDITION(__VA_ARGS__))); \
|
||||
bool passed = !!(CR_EXPAND(CR_GET_CONDITION(__VA_ARGS__))); \
|
||||
struct criterion_assert_stats stat; \
|
||||
CR_ZERO_FILL(stat); \
|
||||
stat.kind = (Kind); \
|
||||
|
|
Loading…
Add table
Reference in a new issue