Summary
Some parts of the code use designated initializers, which is a C++20 addition even though some compilers support it when targeting earlier standards. This codebase targets C++17, so we should remove the designated initializers.
Adhering to ISO C++ guidelines ensures our code is as portable and maintainable as possible.
Commit
develop
Expected Behavior
Code does not use designated initializers.
Actual Behavior
Code does not uses designated initializers, which prompt compiler warnings.
Steps to Reproduce the Actual Behavior
Compile project with C++ standard below 20.
Related Work
CDAR-448
Summary
Some parts of the code use designated initializers, which is a C++20 addition even though some compilers support it when targeting earlier standards. This codebase targets C++17, so we should remove the designated initializers.
Adhering to ISO C++ guidelines ensures our code is as portable and maintainable as possible.
Commit
develop
Expected Behavior
Code does not use designated initializers.
Actual Behavior
Code does not uses designated initializers, which prompt compiler warnings.
Steps to Reproduce the Actual Behavior
Compile project with C++ standard below 20.
Related Work
CDAR-448