Skip to content

Commit

Permalink
Merge 8bcca03 into 9bd618f
Browse files Browse the repository at this point in the history
  • Loading branch information
niukuo committed Aug 29, 2016
2 parents 9bd618f + 8bcca03 commit 206957b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rapidjson/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ class GenericSchemaDocument {

if (i > 0) { // Remote reference, resolve immediately
if (remoteProvider_) {
if (const GenericSchemaDocument* remoteDocument = remoteProvider_->GetRemoteDocument(s, i - 1)) {
if (const GenericSchemaDocument* remoteDocument = remoteProvider_->GetRemoteDocument(s, i)) {
PointerType pointer(&s[i], len - i, allocator_);
if (pointer.IsValid()) {
if (const SchemaType* sc = remoteDocument->GetSchema(pointer)) {
Expand Down

0 comments on commit 206957b

Please sign in to comment.