add remote ref to schemaMap_

This commit is contained in:
Christian Semmler 2018-03-23 23:33:20 +01:00
parent 67a17cfdbc
commit 8a6c345bcc

View File

@ -1673,6 +1673,7 @@ private:
if (const SchemaType* sc = remoteDocument->GetSchema(pointer)) { if (const SchemaType* sc = remoteDocument->GetSchema(pointer)) {
if (schema) if (schema)
*schema = sc; *schema = sc;
new (schemaMap_.template Push<SchemaEntry>()) SchemaEntry(source, const_cast<SchemaType*>(sc), false, allocator_);
return true; return true;
} }
} }