|
|
@@ -564,22 +564,26 @@ EA_FORCE_INLINE bool EncodeCodePoint(uint32_t c, char*& pDestStart, char* pDestE
|
|
|
|
|
|
EA_FORCE_INLINE uint32_t DecodeCodePoint(const char16_t*& pSourceStart, const char16_t* pSourceEnd)
|
|
|
{
|
|
|
+ EA_UNUSED(pSourceEnd);
|
|
|
return (uint32_t)*(pSourceStart++);
|
|
|
}
|
|
|
|
|
|
EA_FORCE_INLINE bool EncodeCodePoint(uint32_t c, char16_t*& pDestStart, char16_t* pDestEnd)
|
|
|
{
|
|
|
+ EA_UNUSED(pDestEnd);
|
|
|
*(pDestStart++) = static_cast<char16_t>(c);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
EA_FORCE_INLINE uint32_t DecodeCodePoint(const char32_t*& pSourceStart, const char32_t* pSourceEnd)
|
|
|
{
|
|
|
+ EA_UNUSED(pSourceEnd);
|
|
|
return (uint32_t)*(pSourceStart++);
|
|
|
}
|
|
|
|
|
|
EA_FORCE_INLINE bool EncodeCodePoint(uint32_t c, char32_t*& pDestStart, char32_t* pDestEnd)
|
|
|
{
|
|
|
+ EA_UNUSED(pDestEnd);
|
|
|
*(pDestStart++) = static_cast<char32_t>(c);
|
|
|
return true;
|
|
|
}
|