Fix coding style
This commit is contained in:
parent
3d162cc8ad
commit
5aee498d97
3 changed files with 15 additions and 15 deletions
|
@ -395,7 +395,7 @@ static int codepoint_type(uint32_t cp) {
|
||||||
return codepoint_types[cp];
|
return codepoint_types[cp];
|
||||||
}
|
}
|
||||||
|
|
||||||
static int codepoint_type(std::string utf8) {
|
static int codepoint_type(const std::string & utf8) {
|
||||||
if (utf8.length() == 0)
|
if (utf8.length() == 0)
|
||||||
return CODEPOINT_TYPE_UNIDENTIFIED;
|
return CODEPOINT_TYPE_UNIDENTIFIED;
|
||||||
size_t offset = 0;
|
size_t offset = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue