re #9420 fix cppcheck performance warning
Merge branch 'feature/9420_GroupDetectors_AcceptGroupWorkspace' into develop