Skip to content

Commit

Permalink
Fixing split_move; #570
Browse files Browse the repository at this point in the history
  • Loading branch information
the-moisrex committed Dec 17, 2024
1 parent 5bced5f commit 0f6b307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpp/unicode/utf_reducer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ namespace webpp::unicode {
beginp = mid;
endp = old_end;
} else if (diff == 0) {
endp = beginp + static_cast<difference_type>(length);
beginp += static_cast<difference_type>(length);
}
assert(beginp <= endp);
}
Expand Down

0 comments on commit 0f6b307

Please sign in to comment.