LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two')

This commit is contained in:
wmayer
2020-07-27 14:39:14 +02:00
parent 9367e73e92
commit 19c7fbd096
7 changed files with 51 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ DocumentT::DocumentT(const std::string& name)
document = name;
}
DocumentT::DocumentT(const DocumentT& doc)
{
document = doc.document;
}
DocumentT::~DocumentT()
{
}