From 1257fe9096b70cc278f9d6e4029776b50df5d5cf Mon Sep 17 00:00:00 2001 From: Janusz Chorko Date: Fri, 26 Aug 2016 21:17:38 +0200 Subject: [PATCH 1/7] Removed non-compiling assignment operator. Fixed #718 --- include/rapidjson/document.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index e3e20dfb..b0f1f70b 100644 --- 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; } -- 2.43.0