diff --git a/PWGLF/Utils/inelGt.h b/PWGLF/Utils/inelGt.h index 85d07381609..8c4033f1b9a 100644 --- a/PWGLF/Utils/inelGt.h +++ b/PWGLF/Utils/inelGt.h @@ -114,7 +114,7 @@ struct ParticleCounter { continue; } // is charged - if (abs(p->Charge()) == 0) { + if (std::abs(p->Charge()) == 0) { continue; } // in acceptance