Skip to content

cppcheck: Update SUSYToolsAlg.cxx to follow cppcheck suggestions.

Andrii Verbytskyi requested to merge averbyts-master-patch-03704 into master

Following cppcheck suggestions:

Searching before insertion is not necessary. Instead of 'syst_all[sys_affects]={"Nominal"}' consider using 'syst_all.try_emplace(sys_affects, {"Nominal"});'.     
Searching before insertion is not necessary. Instead of 'syst_weights[sys_affects]={"Nominal"}' consider using 'syst_weights.try_emplace(sys_affects, {"Nominal"});'. |

Tag @sroe

Merge request reports