also initialize class member
This commit is contained in:
parent
1e4f59d3ae
commit
5e50f27ed1
@ -2039,7 +2039,8 @@ TEST(SchemaValidator, Ref_remote_issue1210) {
|
|||||||
SchemaDocument** collection;
|
SchemaDocument** collection;
|
||||||
|
|
||||||
// Dummy private copy constructor & assignment operator.
|
// 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&) {
|
SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) {
|
||||||
return *this;
|
return *this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user