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

Remove user-defined copy constructor of Exception classes without assignment operator
This commit is contained in:
wmayer
2020-07-27 13:47:41 +02:00
parent 13fc0554a0
commit 9367e73e92
8 changed files with 8 additions and 232 deletions

View File

@@ -267,11 +267,6 @@ NullShapeException::NullShapeException(const std::string& sMessage)
{
}
NullShapeException::NullShapeException(const NullShapeException &inst)
: ValueError(inst)
{
}
// ------------------------------------------------
BooleanException::BooleanException()
@@ -289,11 +284,6 @@ BooleanException::BooleanException(const std::string& sMessage)
{
}
BooleanException::BooleanException(const BooleanException &inst)
: CADKernelError(inst)
{
}
// ------------------------------------------------
TYPESYSTEM_SOURCE(Part::ShapeSegment , Data::Segment)