Return something in utf8::distance, thanks again gcc for letting this work

This commit is contained in:
Maxime Coste 2012-10-11 00:39:17 +02:00
parent 561cc72d6c
commit 571861bc7b

View File

@ -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