Commit 104f9fe
committed
[tests] Fix compilation issue if parent project use C++ 17
The library require at least a C++ 17 compiler. Sadly, designated initializers in C++ were introduced only in C++20 (in C, that was in C99 !).
Designated initializers are useful in unit-tests and requiring the library to be build by a C++ 20 compiler at least, would be too much.
So, keep the minimal standard to C++ 17 but compile unit-tests with C++ 20 minimum.1 parent e0d748d commit 104f9fe
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
| |||
0 commit comments