Skip to content

Commit 305c71a

Browse files
committed
Fix last 2 errors for code linter
1 parent 28e2f4d commit 305c71a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
#include <string_view>
5656
#include <vector>
5757

58-
#define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, (DEFAULT), (HELP)};
58+
#define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, DEFAULT, HELP}; // NOLINT(bugprone-macro-parentheses)
5959

6060
using namespace o2;
6161
using namespace o2::framework;
@@ -1168,7 +1168,7 @@ struct ZdcQVectors {
11681168

11691169
if (!cfgCCDBdir_Shift.value.empty() && !cal.isShiftProfileFound) {
11701170
LOGF(info, "Getting shift profile from CCDB for runnumber: %d", runnumber);
1171-
TList* hcorrList = ccdb->getForTimeStamp<TList>(cfgCCDBdir_Shift.value, foundBC.timestamp());
1171+
auto hcorrList = ccdb->getForTimeStamp<TList>(cfgCCDBdir_Shift.value, foundBC.timestamp());
11721172
auto shiftProfileC = dynamic_cast<TProfile3D*>(hcorrList->FindObject("ShiftZDCC"));
11731173
if (shiftProfileC) {
11741174
cal.shiftprofileC = shiftProfileC;

0 commit comments

Comments
 (0)