Skip to content

TRT_RawDataByteStreamCnv clang-tidy fixes

The interesting one was

clang-tidy -export-fixes /tmp/christos/tmplp2w_mmk/tmp4q5xsh0s.yaml -p=/data/christos/Athena-git/build /data/christos/Athena-git/athena/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/TRT_RodDecoder.cxx
/data/christos/Athena-git/athena/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/TRT_RodDecoder.cxx:1749:28: warning: 'Ctable' used after it was moved [bugprone-use-after-move]
       m_CompressionTables[Ctable->m_TableVersion].set (std::move(Ctable));
                           ^
/data/christos/Athena-git/athena/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/TRT_RodDecoder.cxx:1749:57: note: move occurred here
       m_CompressionTables[Ctable->m_TableVersion].set (std::move(Ctable));
                                                        ^
/data/christos/Athena-git/athena/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/TRT_RodDecoder.cxx:1749:28: note: the use and move are unsequenced, i.e. there is no guarantee about the order in which they are evaluated
       m_CompressionTables[Ctable->m_TableVersion].set (std::move(Ctable));
                           ^

Merge request reports

Loading