Problem
The struct in uses positional initializers which relies on struct field order rather than designated initializers. This makes the code fragile and not self-documenting.
Suggested Fix
Use C++20 designated initializers:
0 ""
0 ""
0 ""
1 "/usr/include/stdc-predef.h" 1 3 4
0 "" 2
1 ""
File
Problem
The struct in uses positional initializers which relies on struct field order rather than designated initializers. This makes the code fragile and not self-documenting.
Suggested Fix
Use C++20 designated initializers:
0 ""
0 ""
0 ""
1 "/usr/include/stdc-predef.h" 1 3 4
0 "" 2
1 ""
File