[PWGCF] DptDpt - Moving .cxx included file to .h#14130
[PWGCF] DptDpt - Moving .cxx included file to .h#14130victor-gonzalez merged 1 commit intoAliceO2Group:masterfrom
.cxx included file to .h#14130Conversation
|
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.
Auto-approving on behalf of @victor-gonzalez.
No description provided.