Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2019-02-06 14:31:03 +0300
committerGitHub <noreply@github.com>2019-02-06 14:31:03 +0300
commit79a6dabd08fad98a94f2e25e2080eff969a64c80 (patch)
treed357b4416b53c66784b87703582a87f8e4d40928 /include
parent93cb84a7bb411c1fb7f4a8c62be34fdd9caf0647 (diff)
parentdbb594bdb397a16cc91df53466a5ea2cfbc8fb91 (diff)
Merge pull request #1439 from ylavic/schema_pointer_allocator
Use the allocator of the Schema for its Pointer.
Diffstat (limited to 'include')
-rw-r--r--include/rapidjson/schema.h2
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_(),