diff options
author | Xuanyi Zhou <zxy19980101@sina.cn> | 2020-12-27 07:27:43 +0300 |
---|---|---|
committer | Xuanyi Zhou <zxy19980101@sina.cn> | 2020-12-27 07:27:43 +0300 |
commit | d742a030aa1e7254ffc3115d42046a721c28fa78 (patch) | |
tree | 56f11ef6ecc2fb64301996b549283a4e7a01cee0 /test | |
parent | 30069262310f27a48dd17d7358ba656c77d5a2fe (diff) |
add body to private copy constructor & copy assignment
Diffstat (limited to 'test')
-rw-r--r-- | test/unittest/schematest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unittest/schematest.cpp b/test/unittest/schematest.cpp index 01a92b2f..da2a49d2 100644 --- a/test/unittest/schematest.cpp +++ b/test/unittest/schematest.cpp @@ -2038,6 +2038,11 @@ TEST(SchemaValidator, Ref_remote_issue1210) { class SchemaDocumentProvider : public IRemoteSchemaDocumentProvider { SchemaDocument** collection; + SchemaDocumentProvider(const SchemaDocumentProvider&) { + } + SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) { + } + public: SchemaDocumentProvider(SchemaDocument** collection) : collection(collection) { } virtual const SchemaDocument* GetRemoteDocument(const char* uri, SizeType length) { |