Removed capture level from designated initializer compat lambda to fix clang warnings
This commit is contained in:
parent
5b42df6db9
commit
010162f5b7
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@
|
|||
CR_EXPAND(CRITERION_APPLY(CRITERION_ADD_PREFIX_ONCE, __VA_ARGS__))
|
||||
|
||||
# ifdef __cplusplus
|
||||
# define CRITERION_MAKE_STRUCT(Type, ...) [&]() { \
|
||||
# define CRITERION_MAKE_STRUCT(Type, ...) []() { \
|
||||
Type t; \
|
||||
std::memset(&t, 0, sizeof (t)); \
|
||||
CR_EXPAND(CRITERION_ADD_PREFIX(t, __VA_ARGS__)) \
|
||||
|
|
Loading…
Add table
Reference in a new issue