<commit_before><commit_msg>rapidjson: patch for building with gcc81<commit_after>--- include/rapidjson/document.h	2016-08-25 09:59:05.000000000 +0200
+++ include/rapidjson/document.h	2018-05-30 09:55:35.028135241 +0200
@@ -1936,7 +1936,7 @@
         if (count) {
             GenericValue* e = static_cast<GenericValue*>(allocator.Malloc(count * sizeof(GenericValue)));
             SetElementsPointer(e);
-            std::memcpy(e, values, count * sizeof(GenericValue));
+            *e = *values;
         }
         else
             SetElementsPointer(0);
@@ -1949,7 +1949,7 @@
         if (count) {
             Member* m = static_cast<Member*>(allocator.Malloc(count * sizeof(Member)));
             SetMembersPointer(m);
-            std::memcpy(m, members, count * sizeof(Member));
+            *m = *members;
         }
         else
             SetMembersPointer(0);
{'fraction_non_alphanumeric': 0.14464692482915717, 'fraction_numerical': 0.0888382687927107, 'mean_word_length': 2.3045112781954886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5393600', 'n_tokens_mistral': 317, 'n_tokens_neox': 263, 'n_words': 48}