Skip to content

Prefer constructing simple types to static_casting them #1904

@Rangi42

Description

@Rangi42

See d054f07, which does e.g. uint32_t(param) rather than static_cast<uint32_t>(param). (Although consider uniform initialization syntax uint32_t{param} instead.)

Metadata

Metadata

Assignees

Labels

refactoringThis PR is intended to clean up code more than change functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions