Skip to content

Commit 1e4f59d

Browse files
committed
add return statement & comment
1 parent d742a03 commit 1e4f59d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unittest/schematest.cpp

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

2041+
// Dummy private copy constructor & assignment operator.
20412042
SchemaDocumentProvider(const SchemaDocumentProvider&) {
20422043
}
20432044
SchemaDocumentProvider& operator=(const SchemaDocumentProvider&) {
2045+
return *this;
20442046
}
20452047

20462048
public:

0 commit comments

Comments
 (0)