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: remove the redundant macro in source file of VDW module #5562

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

kirk0830
Copy link
Collaborator

@kirk0830 kirk0830 commented Nov 21, 2024

What's changed?

After the PR#5517, all free functions defined in header files are moved into source file to avoid voilating the One Definition Rule (ODR). However, there is a macro previously defined is not removed. Although it will not affect anything (due to the source file only needs to be compiled for once), it is better to remove it for a correct programming habit.

Copy link
Collaborator

@WHUweiqingzhou WHUweiqingzhou left a comment

Choose a reason for hiding this comment

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

LGTM.

@WHUweiqingzhou WHUweiqingzhou merged commit e987240 into deepmodeling:develop Nov 22, 2024
14 checks passed
@kirk0830 kirk0830 deleted the remove-unused-macro branch November 22, 2024 03:21
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