PVS: fixes several issues

This commit is contained in:
wmayer
2019-03-13 01:19:00 +01:00
parent 8bcd3aa338
commit afed9ba5d5
4 changed files with 18 additions and 8 deletions

View File

@@ -81,6 +81,16 @@ const std::vector<unsigned long>& Segment::getIndices() const
return _indices;
}
Segment::Segment(const Segment& s)
: _mesh(s._mesh)
, _indices(s._indices)
, _name(s._name)
, _save(s._save)
, _modifykernel(s._modifykernel)
{
}
const Segment& Segment::operator = (const Segment& s)
{
// Do not copy the MeshObject pointer