diff --git a/source/utf8/core.h b/source/utf8/core.h index d72f743..557ab0f 100644 --- a/source/utf8/core.h +++ b/source/utf8/core.h @@ -100,7 +100,7 @@ namespace internal return 0; } - bool is_overlong_sequence(uint32_t cp, int length) + inline bool is_overlong_sequence(uint32_t cp, int length) { if (cp < 0x80) { if (length != 1)