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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user