Actually return something in utf8::codepoint, thanks gcc for using rax
This commit is contained in:
parent
a04d1e3a1f
commit
ffba94fcde
|
@ -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{};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user