Fix crash when saving empty json string
This commit is contained in:
1
Source/ThirdParty/rapidjson/prettywriter.h
vendored
1
Source/ThirdParty/rapidjson/prettywriter.h
vendored
@@ -108,7 +108,6 @@ public:
|
||||
}
|
||||
|
||||
bool String(const Ch* str, SizeType length, bool copy = false) {
|
||||
RAPIDJSON_ASSERT(str != 0);
|
||||
(void)copy;
|
||||
PrettyPrefix(kStringType);
|
||||
return Base::EndValue(Base::WriteString(str, length));
|
||||
|
||||
Reference in New Issue
Block a user