diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index b3939c2..883706c 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -152,7 +152,7 @@ public: typedef typename EncodingType::Ch Ch; typedef SchemaValidationContext Context; typedef Schema SchemaType; - friend SchemaDocumentType; + friend class GenericSchemaDocument; Schema(SchemaDocumentType* document, const PointerType& p, const ValueType& value) : not_(),