1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rapidjson/hotfix-gcc14.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001
15 From: Janusz Chorko <janusz.chorko@apdu.pl>
16 Date: Fri, 26 Aug 2016 21:17:38 +0200
17 Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718
20 include/rapidjson/document.h | 2 --
21 1 file changed, 2 deletions(-)
23 diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h
24 index e3e20dfbd..b0f1f70be 100644
25 --- a/include/rapidjson/document.h
26 +++ b/include/rapidjson/document.h
27 @@ -316,8 +316,6 @@ struct GenericStringRef {
29 GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
31 - GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
33 //! implicit conversion to plain CharType pointer
34 operator const Ch *() const { return s; }