Actually return something in utf8::codepoint, thanks gcc for using rax

This commit is contained in:
Maxime Coste 2012-10-10 19:14:18 +02:00
parent a04d1e3a1f
commit ffba94fcde

View File

@ -108,6 +108,7 @@ Codepoint codepoint(Iterator it)
} }
else else
throw invalid_utf8_sequence{}; throw invalid_utf8_sequence{};
return cp;
} }
struct invalid_codepoint{}; struct invalid_codepoint{};