Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXuanyi Zhou <zxy19980101@sina.cn>2020-12-27 07:27:43 +0300
committerXuanyi Zhou <zxy19980101@sina.cn>2020-12-27 07:27:43 +0300
commitd742a030aa1e7254ffc3115d42046a721c28fa78 (patch)
tree56f11ef6ecc2fb64301996b549283a4e7a01cee0 /test
parent30069262310f27a48dd17d7358ba656c77d5a2fe (diff)
add body to private copy constructor & copy assignment
Diffstat (limited to 'test')
-rw-r--r--test/unittest/schematest.cpp5
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) {