add: rapidjson compiler patch

This commit is contained in:
collecting
2025-10-02 07:16:59 +00:00
parent d0c6253d11
commit f071b8fecf

View File

@@ -0,0 +1,11 @@
--- thirdparty/rapidjson-1.1.0/include/rapidjson/document.h.original 2025-10-02 02:27:11.502467388 -0400
+++ thirdparty/rapidjson-1.1.0/include/rapidjson/document.h 2025-10-02 02:27:49.451894238 -0400
@@ -316,7 +316,7 @@
GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
+ GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; }
//! implicit conversion to plain CharType pointer
operator const Ch *() const { return s; }