Remove useless use of wcslen

This commit is contained in:
Fabian Homborg 2022-03-25 15:57:54 +01:00
parent 42ea2758b6
commit bac2eef496

View File

@ -60,7 +60,7 @@ static void replace_part(const wchar_t *begin, const wchar_t *end, const wchar_t
switch (append_mode) {
case REPLACE_MODE: {
out.append(insert);
out_pos = std::wcslen(insert) + (begin - buff);
out_pos = out.size();
break;
}
case APPEND_MODE: {