Skip to content

Commit

Permalink
Merge pull request #674 from sjasonsmith/master
Browse files Browse the repository at this point in the history
Make GenericSchemaDocument constructor explicit
  • Loading branch information
miloyip authored Jul 2, 2016
2 parents 727e2b9 + 8991561 commit 5e8a382
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 @@ -1338,7 +1338,7 @@ class GenericSchemaDocument {
\param remoteProvider An optional remote schema document provider for resolving remote reference. Can be null.
\param allocator An optional allocator instance for allocating memory. Can be null.
*/
GenericSchemaDocument(const ValueType& document, IRemoteSchemaDocumentProviderType* remoteProvider = 0, Allocator* allocator = 0) :
explicit GenericSchemaDocument(const ValueType& document, IRemoteSchemaDocumentProviderType* remoteProvider = 0, Allocator* allocator = 0) :
remoteProvider_(remoteProvider),
allocator_(allocator),
ownAllocator_(),
Expand Down

0 comments on commit 5e8a382

Please sign in to comment.