Skip to content
Snippets Groups Projects
Commit 55678604 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix dereferencing of nullptr

parent 0571bd8f
No related branches found
No related tags found
2 merge requests!4386Merge master into FTRetinaSeedRawBanks,!4322Fixes for gcc 13, clang 16 and C++20
......@@ -195,7 +195,7 @@ namespace LHCb::Hlt::DAQ {
while ( i < hitsSubBank99.seqEnd( 0 ) ) {
int temp1 = hitsSubBank99.location()[i++];
int temp2 = hitsSubBank99.location()[i++];
if ( !idmap_dummy )
if ( idmap_dummy )
summary.addToInfo( idmap_dummy->find( temp1 )->second, temp2 );
else
summary.addToInfo( std::to_string( temp1 ), temp2 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment