App: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-20 15:30:18 +02:00
parent 5610c22cbb
commit 1efde78d74
12 changed files with 10 additions and 69 deletions

View File

@@ -259,10 +259,7 @@ Property *DocumentObjectT::getProperty() const {
SubObjectT::SubObjectT() = default;
SubObjectT::SubObjectT(const SubObjectT &other)
:DocumentObjectT(other), subname(other.subname)
{
}
SubObjectT::SubObjectT(const SubObjectT &) = default;
SubObjectT::SubObjectT(SubObjectT &&other)
:DocumentObjectT(std::move(other)), subname(std::move(other.subname))