Skip to content

Remove designated initializers #79

Description

@adamlm

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions