Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make PythiaDecays.h a standalone header.
PythiaDecays.h currently doesn't compile on its own because we create a std::vector of RawParticle, which is only a forward declared class. This is already a border-case and *can* compile as long as we don't touch the vector itself in the rest of the header code. However, the destructor that is destroying the vector as part of the header code and is therefore is accessing it, so we get in the modules case compiler errors for this header. This patch just moves the constructor to the cpp file so that we generate the destruction code in the source file where we actually have the definition of RawParticle available.
- Loading branch information