Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: change the order of initializing member variables #4865

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

kirk0830
Copy link
Collaborator

@kirk0830 kirk0830 commented Aug 2, 2024

What's changed?

  • Correct the order of declaration and initializing member variables in constructor of FmtTable.

@Cstandardlib
Copy link
Collaborator

Is actual order of initialization relevant to the member initializer list? Seems that members are initialized in order of declaration in the class definition.

@kirk0830
Copy link
Collaborator Author

kirk0830 commented Aug 2, 2024

Is actual order of initialization relevant to the member initializer list? Seems that members are initialized in order of declaration in the class definition.

yes it is, I forget to change the order of that in previous commit. Now the order of declaration, param list and initialization are consistent.

@mohanchen mohanchen merged commit 075e4a2 into deepmodeling:develop Aug 2, 2024
14 checks passed
@mohanchen mohanchen added the Refactor Refactor ABACUS codes label Aug 2, 2024
@kirk0830 kirk0830 deleted the fix-formatter-1 branch August 2, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Refactor ABACUS codes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants