mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-11-12 11:14:48 +01:00
also initialize class member
This commit is contained in:
@@ -2039,7 +2039,8 @@ TEST(SchemaValidator, Ref_remote_issue1210) {
|
||||
SchemaDocument** collection;
|
||||
|
||||
// Dummy private copy constructor & assignment operator.
|
||||
SchemaDocumentProvider(const SchemaDocumentProvider&) {
|
||||
// Function bodies added so that they compile in MSVC 2019.
|
||||
SchemaDocumentProvider(const SchemaDocumentProvider&) : collection(NULL) {
|
||||
}
|
||||
SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) {
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user