Skip to content

[REFACTOR] initialize _pins directly in AComponent constructor#36

Merged
SamGave07 merged 7 commits intomainfrom
dev
Mar 9, 2025
Merged

[REFACTOR] initialize _pins directly in AComponent constructor#36
SamGave07 merged 7 commits intomainfrom
dev

Conversation

@maelemiel
Copy link
Contributor

This pull request includes a change to the constructor of the AComponent class in the src/AComponent.cpp file to improve code readability and initialization order.

Code readability and initialization order:

  • src/AComponent.cpp: Modified the AComponent constructor to initialize _pins directly in the member initializer list and removed the redundant initialization within the constructor body.

@maelemiel maelemiel requested a review from SamGave07 March 9, 2025 22:00
@maelemiel maelemiel self-assigned this Mar 9, 2025
Copy link
Collaborator

@SamGave07 SamGave07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@SamGave07 SamGave07 merged commit dabe473 into main Mar 9, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants