Skip to content

Commit 6368b7c

Browse files
committedNov 13, 2019
groot/{riofs,rdict}: hack for TVirtualIndex and TDatime
1 parent 1899344 commit 6368b7c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎groot/rdict/visit.go

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ func (v *visitor) visitSE(depth int, se rbytes.StreamerElement) error {
6363
return err
6464
}
6565

66+
switch se.TypeName() {
67+
case "TVirtualIndex", "TVirtualIndex*":
68+
return nil
69+
}
70+
6671
switch se := se.(type) {
6772
case *StreamerBasicType:
6873
// no-op

‎groot/riofs/dir.go

+4
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,10 @@ var coreTypes = map[string]struct{}{
732732
"TDirectoryFile": {},
733733
"TKey": {},
734734
"TString": {},
735+
736+
"TDatime": {},
737+
"TVirtualIndex": {},
738+
"TBasket": {},
735739
}
736740

737741
func isCoreType(typename string) bool {

0 commit comments

Comments
 (0)
Please sign in to comment.