Make utif_iterator more tolerant to invalid utf8
This commit is contained in:
parent
55959f2cb1
commit
152e46a6da
|
@ -104,7 +104,7 @@ public:
|
||||||
check_invariant();
|
check_invariant();
|
||||||
other.check_invariant();
|
other.check_invariant();
|
||||||
CharCount dist = 0;
|
CharCount dist = 0;
|
||||||
while (other.m_it != m_it)
|
while (other.m_it < m_it)
|
||||||
{
|
{
|
||||||
++dist;
|
++dist;
|
||||||
++other;
|
++other;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user