Skip to content

Commit 9803078

Browse files
committed
Always read TStreamerInfo
I/O is similar for all class versions, ROOT has special handling of very old streamer infos which are not relevant for JSROOT
1 parent a349e09 commit 9803078

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

scripts/JSRootIOEvolution.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,12 +2509,10 @@
25092509

25102510
cs['TStreamerInfo'] = function(buf, obj) {
25112511
// stream an object of class TStreamerInfo from the I/O buffer
2512-
if (buf.last_read_version > 1) {
2513-
buf.ClassStreamer(obj, "TNamed");
2514-
obj.fCheckSum = buf.ntou4();
2515-
obj.fClassVersion = buf.ntou4();
2516-
obj.fElements = buf.ReadObjectAny();
2517-
}
2512+
buf.ClassStreamer(obj, "TNamed");
2513+
obj.fCheckSum = buf.ntou4();
2514+
obj.fClassVersion = buf.ntou4();
2515+
obj.fElements = buf.ReadObjectAny();
25182516
};
25192517

25202518
cs['TStreamerElement'] = function(buf, element) {

0 commit comments

Comments
 (0)