Unverified Commit 79a6dabd authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #1439 from ylavic/schema_pointer_allocator

Use the allocator of the Schema for its Pointer.
parents 93cb84a7 dbb594bd
......@@ -409,7 +409,7 @@ public:
Schema(SchemaDocumentType* schemaDocument, const PointerType& p, const ValueType& value, const ValueType& document, AllocatorType* allocator) :
allocator_(allocator),
uri_(schemaDocument->GetURI(), *allocator),
pointer_(p),
pointer_(p, allocator),
typeless_(schemaDocument->GetTypeless()),
enum_(),
enumCount_(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment