From 5a78b349140febeef8c2c112226a67921965e249 Mon Sep 17 00:00:00 2001 From: Meagan Lang Date: Fri, 23 Aug 2024 10:56:54 -0400 Subject: [PATCH] Fix Parse allocator argument passed to AddSchema --- include/rapidjson/document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index 8aed9c93b..a07cb0449 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -3601,7 +3601,7 @@ class GenericValue { template bool AddSchema(GenericDocument& schema) { - return AddSchema(schema, schema.allocator_); + return AddSchema(schema, *schema.allocator_); } template bool AddSchema(GenericValue& schema,