Skip to content

Commit 983575f

Browse files
authored
Refactor O2_DEFINE_CONFIGURABLE macro definition
Updated macro definition for configurables to include a comment for linting.
1 parent b9274ca commit 983575f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PWGCF/TwoParticleCorrelations/Tasks/nucleibalance.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ using namespace o2::framework;
7171
using namespace o2::framework::expressions;
7272
using namespace constants::math;
7373

74-
#define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, (DEFAULT), (HELP)};
74+
#define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) \
75+
Configurable<TYPE> NAME{#NAME, (DEFAULT), (HELP)}; // NOLINT(bugprone-macro-parentheses)
7576

7677
static constexpr float PairCutOff = -1.f;
7778
static constexpr std::array<std::array<float, 5>, 1> CfgPairCutDefaults{{{PairCutOff, PairCutOff, PairCutOff, PairCutOff, PairCutOff}}};

0 commit comments

Comments
 (0)