Draft: Replace the substr() with resize as cppcheck suggests

Replace the substr() with resize as cppcheck suggests

Atg @sroe @fwinkel

Merge request reports

Loading