Skip to content

Commit 5a41f95

Browse files
dstoccosawenzel
authored andcommitted
Make decoder fully independent of the RDH version
1 parent 865e791 commit 5a41f95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/MUON/MID/Raw/src/Decoder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ void Decoder<GBTDECODER>::process(gsl::span<const uint8_t> bytes)
6161
if (it.size() == 0) {
6262
continue;
6363
}
64-
auto* rdhPtr = it.template get_if<o2::header::RAWDataHeader>();
6564
gsl::span<const uint8_t> payload(it.data(), it.size());
65+
auto const* rdhPtr = reinterpret_cast<const o2::header::RDHAny*>(it.raw());
6666
process(payload, *rdhPtr);
6767
}
6868
flush();

0 commit comments

Comments
 (0)