Fix regression in rapidjson update

This commit is contained in:
Wojtek Figat
2025-02-25 18:09:47 +01:00
parent dcba97f84a
commit 83c3201ef8
2 changed files with 1 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ public:
void String(const StringAnsi& value) void String(const StringAnsi& value)
{ {
String(value.Get(), static_cast<unsigned>(value.Length())); String(value.Get(), value.Length());
} }
FORCE_INLINE void RawValue(const StringAnsi& str) FORCE_INLINE void RawValue(const StringAnsi& str)

View File

@@ -202,7 +202,6 @@ public:
} }
bool String(const Ch* str, SizeType length, bool copy = false) { bool String(const Ch* str, SizeType length, bool copy = false) {
RAPIDJSON_ASSERT(str != 0);
(void)copy; (void)copy;
Prefix(kStringType); Prefix(kStringType);
return EndValue(WriteString(str, length)); return EndValue(WriteString(str, length));