Skip to content

Commit f68f413

Browse files
Add default initializers to HfMixed3ProngSeed
Initialize member variables in HfMixed3ProngSeed struct.
1 parent 87adc80 commit f68f413

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGHF/TableProducer/candidateCreator3Prong.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ struct HfCandidateCreator3Prong {
761761
template <typename TSeed, typename TTracks>
762762
struct HfMixed3ProngSeed {
763763
TSeed source;
764-
TTracks const* tracks;
765-
std::array<int64_t, 3> ids;
766-
uint8_t flag;
764+
TTracks const* tracks{nullptr};
765+
std::array<int64_t, 3> ids{};
766+
uint8_t flag{0};
767767
template <typename T>
768768
auto collision_as() const
769769
{

0 commit comments

Comments
 (0)