Fix regression in rapidjson update
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
1
Source/ThirdParty/rapidjson/writer.h
vendored
1
Source/ThirdParty/rapidjson/writer.h
vendored
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user