Skip to content

Commit 07b7513

Browse files
committed
Remove TNamed inheritance
1 parent e820b4b commit 07b7513

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Analysis/Core/include/Analysis/RunToTimestamp.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@
1717
#define RunToTimestamp_H
1818

1919
#include <map>
20-
#include <FairLogger.h>
21-
#include "TNamed.h"
20+
#include <Rtypes.h>
2221

23-
class RunToTimestamp : public TNamed
22+
class RunToTimestamp
2423
{
2524
public:
2625
RunToTimestamp() = default;
27-
~RunToTimestamp() final = default;
26+
~RunToTimestamp() = default;
2827

2928
/// Checks if the converter has a particular run
3029
bool Has(uint runNumber) const { return mMap.count(runNumber); }
@@ -43,7 +42,7 @@ class RunToTimestamp : public TNamed
4342

4443
private:
4544
std::map<uint, long> mMap;
46-
ClassDef(RunToTimestamp, 1) // converter class between run number and timestamp
45+
ClassDefNV(RunToTimestamp, 1) // converter class between run number and timestamp
4746
};
4847

4948
#endif

Analysis/Core/src/RunToTimestamp.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// Author: Nicolo' Jacazio on 2020-06-22
1515

1616
#include "Analysis/RunToTimestamp.h"
17+
#include <FairLogger.h>
1718

1819
ClassImp(RunToTimestamp);
1920

0 commit comments

Comments
 (0)