There was an error while loading. Please reload this page.
1 parent 865e791 commit 5a41f95Copy full SHA for 5a41f95
1 file changed
Detectors/MUON/MID/Raw/src/Decoder.cxx
@@ -61,8 +61,8 @@ void Decoder<GBTDECODER>::process(gsl::span<const uint8_t> bytes)
61
if (it.size() == 0) {
62
continue;
63
}
64
- auto* rdhPtr = it.template get_if<o2::header::RAWDataHeader>();
65
gsl::span<const uint8_t> payload(it.data(), it.size());
+ auto const* rdhPtr = reinterpret_cast<const o2::header::RDHAny*>(it.raw());
66
process(payload, *rdhPtr);
67
68
flush();
0 commit comments