diff --git a/make-dist b/make-dist index 0121d1beae0459..af8a33ec0a5bbf 100755 --- a/make-dist +++ b/make-dist @@ -219,6 +219,29 @@ for tarball in $outfile.version \ rm $tarball.tar done mv $outfile.all.tar $outfile.tar +patch -p0 < + GenericStringRef(CharType (&str)[N]) /* = delete */; ++ //! Copy assignment operator not permitted - immutable type ++ GenericStringRef& operator=(const GenericStringRef& rhs) /* = delete */; + }; + + //! Mark a character pointer as constant string +EOF +tar --update -f $outfile.tar $outfile/src/rapidjson/include/rapidjson/document.h rm $outfile echo "compressing..."