Fix coding style

This commit is contained in:
goerch 2023-10-02 13:01:46 +02:00 committed by GitHub
parent 3d162cc8ad
commit 5aee498d97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View file

@ -395,7 +395,7 @@ static int codepoint_type(uint32_t cp) {
return codepoint_types[cp];
}
static int codepoint_type(std::string utf8) {
static int codepoint_type(const std::string & utf8) {
if (utf8.length() == 0)
return CODEPOINT_TYPE_UNIDENTIFIED;
size_t offset = 0;