Skip to content

Commit 0c8d97e

Browse files
committed
[roottest] missing overrides and cleanup deprecated classdefs
1 parent 8e187de commit 0c8d97e

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

roottest/root/io/clones/RtObj.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,5 @@ class RtObj : public T
66
public:
77
RtObj() {}
88
RtObj( const T & val ) : T(val) {}
9-
ClassDefT(RtObj,1)
9+
ClassDefOverride(RtObj,1)
1010
} ;
11-
12-
ClassDefT2(RtObj,T)
13-
14-
ClassImpT(RtObj,T)
15-

roottest/root/io/evolution/equivalent/ioReadRuleEquivalentCode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class A:public TObject{
44

55
public:
66
A(){}
7-
ClassDef(A,1)
7+
ClassDefOverride(A,1)
88

99
};
1010

@@ -13,7 +13,7 @@ class B:public TObject{
1313
public:
1414
B(){}
1515
void initializeTransients(){transient_=2;}
16-
ClassDef(B,1)
16+
ClassDefOverride(B,1)
1717
private:
1818
double transient_; //!
1919

roottest/root/meta/iotypeioname/classes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Container: public TObject {
4848
SuperCluster m_sc;
4949
Particle m_part;
5050

51-
ClassDef(Container,1);
51+
ClassDefOverride(Container,1);
5252
};
5353

5454
#endif

roottest/root/ntuple/streamerfield/Event_v2.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct StreamerDerived : public StreamerBase {
1717
int fSecond = 2;
1818
virtual ~StreamerDerived() = default;
1919

20-
ClassDef(StreamerDerived, 2)
20+
ClassDefOverride(StreamerDerived, 2)
2121
};
2222

2323
struct StreamerContainer {

roottest/root/ntuple/streamerfield/Event_v3.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct StreamerDerived : public StreamerBase {
1717
int fFirst = 1;
1818
virtual ~StreamerDerived() = default;
1919

20-
ClassDef(StreamerDerived, 3)
20+
ClassDefOverride(StreamerDerived, 3)
2121
};
2222

2323
struct StreamerContainer {

0 commit comments

Comments
 (0)