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
diff options
context:
space:
mode:
authorXuanyi Zhou <zxy19980101@sina.cn>2020-12-27 07:38:27 +0300
committerXuanyi Zhou <zxy19980101@sina.cn>2020-12-27 07:38:27 +0300
commit1e4f59d3aed8235e2cce763570054ef06d7a2fd3 (patch)
tree5a05f55bd40790f056bb185895f7bef4be61894d
parentd742a030aa1e7254ffc3115d42046a721c28fa78 (diff)
add return statement & comment
-rw-r--r--test/unittest/schematest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unittest/schematest.cpp b/test/unittest/schematest.cpp
index da2a49d2..e3caa0f6 100644
--- a/test/unittest/schematest.cpp
+++ b/test/unittest/schematest.cpp
@@ -2038,9 +2038,11 @@ TEST(SchemaValidator, Ref_remote_issue1210) {
class SchemaDocumentProvider : public IRemoteSchemaDocumentProvider {
SchemaDocument** collection;
+ // Dummy private copy constructor & assignment operator.
SchemaDocumentProvider(const SchemaDocumentProvider&) {
}
SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) {
+ return *this;
}
public: