Removed assert that is now informed by type system
This commit is contained in:
parent
8695928dd1
commit
3e25852382
@ -762,7 +762,6 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, size_t a_NumChars)
|
|||||||
// Reads 2 * a_NumChars bytes and interprets it as a UTF16 string, converting it into UTF8 string a_String
|
// Reads 2 * a_NumChars bytes and interprets it as a UTF16 string, converting it into UTF8 string a_String
|
||||||
CHECK_THREAD;
|
CHECK_THREAD;
|
||||||
CheckValid();
|
CheckValid();
|
||||||
ASSERT(a_NumChars >= 0);
|
|
||||||
AString RawData;
|
AString RawData;
|
||||||
if (!ReadString(RawData, a_NumChars * 2))
|
if (!ReadString(RawData, a_NumChars * 2))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user