Skip to content

Commit 7feeee7

Browse files
author
Stefanie Mrozinski
committed
Fix linter errors
1 parent 301525c commit 7feeee7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGEM/PhotonMeson/Tasks/photonhbt.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ struct Photonhbt {
638638
void addSinglePhotonQAHistograms()
639639
{
640640
static constexpr std::array<const char*, 2> kStepDirs = {"Before/", "AfterPairCuts/"};
641-
for (const auto* step : kStepDirs) {
641+
for (const auto& step : kStepDirs) {
642642
addSinglePhotonQAHistogramsForStep(std::string("SinglePhoton/") + step);
643643
}
644644
}
@@ -647,7 +647,7 @@ struct Photonhbt {
647647
void addPairQAHistograms()
648648
{
649649
static constexpr std::array<const char*, 2> kStepDirs = {"Before/", "AfterPairCuts/"};
650-
for (const auto* step : kStepDirs) {
650+
for (const auto& step : kStepDirs) {
651651
addQAHistogramsForStep(std::string("Pair/same/QA/") + step);
652652
}
653653

0 commit comments

Comments
 (0)