-
Notifications
You must be signed in to change notification settings - Fork 624
[PWGCF] DptDpt - Moving .cxx included file to .h
#14130
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
Conversation
|
O2 linter results: ❌ 62 errors, |
|
@vkucera Just wanted to move the included |
|
Hi @victor-gonzalez , thanks for the fix. Concerning the header guards, the whole idea of including a file in the middle of a source file to paste some code verbatim is wrong. If one needs to paste code, it should be done with a preprocessor macro which can be defined in the header which will be only included once at the top of the source. But even that is a bad idea and should be done better with properly defined C++ objects. |
I agree but that will take some time. For the time being, I will merge this one and address the full issue in the coming weeks. |
Very good, thanks @victor-gonzalez ! |
alibuild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approving on behalf of @victor-gonzalez.
No description provided.