Return something in utf8::distance, thanks again gcc for letting this work
This commit is contained in:
parent
561cc72d6c
commit
571861bc7b
|
@ -68,6 +68,7 @@ size_t distance(Iterator begin, Iterator end)
|
|||
if ((*begin++ & 0xC0) != 0x80)
|
||||
++dist;
|
||||
}
|
||||
return dist;
|
||||
}
|
||||
|
||||
// return true if it points to the first byte of a (either single or
|
||||
|
|
Loading…
Reference in New Issue
Block a user