diff options
author | Milo Yip <miloyip@gmail.com> | 2019-02-06 14:31:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-06 14:31:03 +0300 |
commit | 79a6dabd08fad98a94f2e25e2080eff969a64c80 (patch) | |
tree | d357b4416b53c66784b87703582a87f8e4d40928 /include/rapidjson | |
parent | 93cb84a7bb411c1fb7f4a8c62be34fdd9caf0647 (diff) | |
parent | dbb594bdb397a16cc91df53466a5ea2cfbc8fb91 (diff) |
Merge pull request #1439 from ylavic/schema_pointer_allocator
Use the allocator of the Schema for its Pointer.
Diffstat (limited to 'include/rapidjson')
-rw-r--r-- | include/rapidjson/schema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index 57ec797a..5b622f78 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -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_(), |