Skip to content

Commit c194987

Browse files
committed
fix linter errors
1 parent deb02c5 commit c194987

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#include <string>
5252
#include <string_view>
5353
#include <vector>
54+
#include <memory>
5455

5556
#include <stdlib.h>
5657

@@ -431,8 +432,8 @@ struct ZdcQVectors {
431432

432433
double rescaleTimestamp(uint64_t timestamp, int runnumber)
433434
{
434-
auto& ccdb = o2::ccdb::BasicCCDBManager::instance();
435-
auto duration = ccdb.getRunDuration(runnumber);
435+
auto& cc = o2::ccdb::BasicCCDBManager::instance();
436+
auto duration = cc.getRunDuration(runnumber);
436437
double ts = (static_cast<double>(timestamp - duration.first) / static_cast<double>(duration.second - duration.first)) * 100.0;
437438

438439
return ts;

0 commit comments

Comments
 (0)