Skip to content
Snippets Groups Projects
Commit d09a38a1 authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

Typo fix on cps_recv.

The sort predicate was wrong on the data block crc sort, it could reach a state where it never completed.
parent 814f54a0
No related branches found
No related tags found
1 merge request!170Cps recv to get dc diags
...@@ -679,7 +679,7 @@ DCStats::run( simple_pv_handle epics_server ) ...@@ -679,7 +679,7 @@ DCStats::run( simple_pv_handle epics_server )
boost::sort( boost::sort(
data_block_crcs, data_block_crcs,
[]( const dcuid_crc_pair& a, const dcuid_crc_pair& b ) -> bool { []( const dcuid_crc_pair& a, const dcuid_crc_pair& b ) -> bool {
return a.first < a.second; return a.first < b.first;
} ); } );
total_data_crc.reset( ); total_data_crc.reset( );
for_each( data_block_crcs, for_each( data_block_crcs,
......
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