aboutsummaryrefslogtreecommitdiff
path: root/math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h')
-rw-r--r--math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h b/math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h
new file mode 100644
index 000000000000..86d71f96a4b3
--- /dev/null
+++ b/math/py-pyrfr/files/patch-include_cereal_external_rapidjson_document.h
@@ -0,0 +1,13 @@
+- https://github.com/automl/random_forest_run/issues/8
+
+--- include/cereal/external/rapidjson/document.h.orig 2025-06-29 20:57:03 UTC
++++ include/cereal/external/rapidjson/document.h
+@@ -322,7 +322,7 @@ struct GenericStringRef {
+ operator const Ch *() const { return s; }
+
+ const Ch* const s; //!< plain CharType pointer
+- const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
++ SizeType length; //!< length of the string (excluding the trailing NULL terminator)
+
+ private:
+ //! Disallow construction from non-const array