You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Detectors/TPC/base/src/TPCFlagsMemberCustomStreamer.cxx
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -71,16 +71,10 @@ namespace ROOT
71
71
{
72
72
static __attribute__((used)) int _R__dummyStreamer_3 =
73
73
([]() {
74
-
auto cl = TClass::GetClass<o2::tpc::CalArray<o2::tpc::PadFlags>>();
75
-
if (cl) {
76
-
if (!getenv("TPC_PADFLAGS_STREAMER_OFF")) {
77
-
cl->AdoptMemberStreamer("mData", new TMemberStreamer(MemberVectorPadFlagsStreamer));
78
-
}
79
-
} else {
80
-
// we should never come here ... and if we do we should assert/fail
81
-
assert(false);
74
+
if (!getenv("TPC_PADFLAGS_STREAMER_OFF")) {
75
+
ROOT::GenerateInitInstance((o2::tpc::CalArray<o2::tpc::PadFlags> *)nullptr)->AdoptMemberStreamer("mData", new TMemberStreamer(MemberVectorPadFlagsStreamer));
0 commit comments