From f071b8fecfa9c1f43811130f379bfeb138a3eb3c Mon Sep 17 00:00:00 2001 From: collecting Date: Thu, 2 Oct 2025 07:16:59 +0000 Subject: [PATCH] add: rapidjson compiler patch --- patches/rapidjson-compiler-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/rapidjson-compiler-fix.patch diff --git a/patches/rapidjson-compiler-fix.patch b/patches/rapidjson-compiler-fix.patch new file mode 100644 index 000000000..8b000f3c2 --- /dev/null +++ b/patches/rapidjson-compiler-fix.patch @@ -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; }