fix to rapidjson for build with gcc 14 (#928)

This commit is contained in:
Erik Fröjdh 2024-07-25 17:15:03 +02:00 committed by GitHub
parent 2d177924eb
commit 61e9437842
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -316,7 +316,8 @@ struct GenericStringRef {
GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
// Removed to fix failing build in GCC 14
// GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
//! implicit conversion to plain CharType pointer
operator const Ch *() const { return s; }