diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
commit | fcf991edcc1b310199e4e829a3706bc1c267d1db (patch) | |
tree | 50f02cb76c2666dbe78d927799c034715582c9cd /dev-libs/rapidjson/files | |
parent | 3c246ed172bd795a519ba659ba32c9e91f6bedde (diff) |
gentoo auto-resync : 24:09:2023 - 05:21:45
Diffstat (limited to 'dev-libs/rapidjson/files')
-rw-r--r-- | dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch new file mode 100644 index 000000000000..0bc9e73b5683 --- /dev/null +++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/914583 +https://github.com/Tencent/rapidjson/commit/3b2441b87f99ab65f37b141a7b548ebadb607b96 +https://github.com/Tencent/rapidjson/issues/718 + +From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001 +From: Janusz Chorko <janusz.chorko@apdu.pl> +Date: Fri, 26 Aug 2016 21:17:38 +0200 +Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718 + +--- a/include/rapidjson/document.h ++++ b/include/rapidjson/document.h +@@ -316,8 +316,6 @@ struct GenericStringRef { + + GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {} + +- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } +- + //! implicit conversion to plain CharType pointer + operator const Ch *() const { return s; } + |