Fix for the bug ID: 2830326: " multiple definition of `utf8::internal::is_overlong_sequence"

git-svn-id: http://svn.code.sf.net/p/utfcpp/code@98 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
ntrifunovic 2009-08-01 01:50:13 +00:00 committed by King_DuckZ
parent 4bccdb30d0
commit 6adb83ba84

View file

@ -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)