Skip to content

Commit 9c563c1

Browse files
committed
[tree] implement missing classdefs
1 parent 86a433b commit 9c563c1

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

tree/treeplayer/inc/TTreeReaderArray.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ class TTreeReaderArrayBase : public TTreeReaderValueBase {
5252

5353
std::unique_ptr<TVirtualCollectionReader> fImpl; // Common interface to collections
5454

55-
// FIXME: re-introduce once we have ClassDefInline!
56-
// ClassDefOverride(TTreeReaderArrayBase, 0);//Accessor to member of an object stored in a collection
55+
ClassDefInlineOverride(TTreeReaderArrayBase, 0);//Accessor to member of an object stored in a collection
5756
};
5857

5958
class R__CLING_PTRCHECK(off) TTreeReaderUntypedArray final : public TTreeReaderArrayBase {
@@ -241,8 +240,7 @@ class R__CLING_PTRCHECK(off) TTreeReaderArray final : public ROOT::Internal::TTr
241240
#define R__TTreeReaderArray_TypeString(T) #T
242241
const char *GetDerivedTypeName() const override { return R__TTreeReaderArray_TypeString(T); }
243242
#undef R__TTreeReaderArray_TypeString
244-
// FIXME: re-introduce once we have ClassDefTInline!
245-
// ClassDefT(TTreeReaderArray, 0);//Accessor to member of an object stored in a collection
243+
ClassDefInline(TTreeReaderArray, 0);//Accessor to member of an object stored in a collection
246244
};
247245

248246
namespace cling {

tree/treeplayer/inc/TTreeReaderValue.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ class TTreeReaderValueBase {
150150
*/
151151
bool fOpaqueRead{false};
152152

153-
// FIXME: re-introduce once we have ClassDefInline!
154-
// ClassDefOverride(TTreeReaderValueBase, 0);//Base class for accessors to data via TTreeReader
153+
ClassDefInlineOverride(TTreeReaderValueBase, 0);//Base class for accessors to data via TTreeReader
155154

156155
friend class ::TTreeReader;
157156
};
@@ -238,16 +237,15 @@ class R__CLING_PTRCHECK(off) TTreeReaderValue final : public ROOT::Internal::TTr
238237
T &operator*() { return *Get(); }
239238

240239
protected:
241-
// FIXME: use IsA() instead once we have ClassDefTInline
240+
// FIXME: use IsA() instead
242241
/// Get the template argument as a string.
243242
const char *GetDerivedTypeName() const override
244243
{
245244
static const std::string sElementTypeName = GetElementTypeName(typeid(T));
246245
return sElementTypeName.data();
247246
}
248247

249-
// FIXME: re-introduce once we have ClassDefTInline!
250-
// ClassDefT(TTreeReaderValue, 0);//Accessor to data via TTreeReader
248+
ClassDefInlineOverride(TTreeReaderValue, 0);//Accessor to data via TTreeReader
251249
};
252250

253251
namespace cling {

0 commit comments

Comments
 (0)