Skip to content

Commit 8a6c345

Browse files
committed
add remote ref to schemaMap_
1 parent 67a17cf commit 8a6c345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/rapidjson/schema.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,7 @@ class GenericSchemaDocument {
16731673
if (const SchemaType* sc = remoteDocument->GetSchema(pointer)) {
16741674
if (schema)
16751675
*schema = sc;
1676+
new (schemaMap_.template Push<SchemaEntry>()) SchemaEntry(source, const_cast<SchemaType*>(sc), false, allocator_);
16761677
return true;
16771678
}
16781679
}

0 commit comments

Comments
 (0)