From 8a6c345bcc58b1e1e96ac0cddf42ca373fcf13bd Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 23 Mar 2018 23:33:20 +0100 Subject: [PATCH] add remote ref to schemaMap_ --- include/rapidjson/schema.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index aefdd95..35748cc 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -1673,6 +1673,7 @@ private: if (const SchemaType* sc = remoteDocument->GetSchema(pointer)) { if (schema) *schema = sc; + new (schemaMap_.template Push()) SchemaEntry(source, const_cast(sc), false, allocator_); return true; } }