Skip to content

Commit d742a03

Browse files
committed
add body to private copy constructor & copy assignment
1 parent 3006926 commit d742a03

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/unittest/schematest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,11 @@ TEST(SchemaValidator, Ref_remote_issue1210) {
20382038
class SchemaDocumentProvider : public IRemoteSchemaDocumentProvider {
20392039
SchemaDocument** collection;
20402040

2041+
SchemaDocumentProvider(const SchemaDocumentProvider&) {
2042+
}
2043+
SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) {
2044+
}
2045+
20412046
public:
20422047
SchemaDocumentProvider(SchemaDocument** collection) : collection(collection) { }
20432048
virtual const SchemaDocument* GetRemoteDocument(const char* uri, SizeType length) {

0 commit comments

Comments
 (0)