Skip to content

Commit f3d4459

Browse files
mcoquet642vkucera
andauthored
Apply suggestion from @vkucera
Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
1 parent 469c759 commit f3d4459

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ struct TableMaker {
580580
if (addTrackCutsStr != "") {
581581
std::vector<AnalysisCut*> addTrackCuts = dqcuts::GetCutsFromJSON(addTrackCutsStr.Data());
582582
for (const auto& t : addTrackCuts) {
583-
fTrackCuts.push_back(static_cast<AnalysisCompositeCut*>(t));
583+
fTrackCuts.push_back(dynamic_cast<AnalysisCompositeCut*>(t));
584584
}
585585
}
586586

0 commit comments

Comments
 (0)