Skip to content

Add explicit copy constructors and operators to UncertainCellSet

Clang 13.0.0 was giving the following warning:

/home/ollie/CLionProjects/vtk-m/vtkm/cont/UnknownCellSet.h:68:3: warning: definition of implicit copy assignment operator for 'UnknownCellSet' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
  UnknownCellSet(const UnknownCellSet&) = default;

To get around this, make sure all the copy constructors and operators are explicit for UncertainCellSet and UnknownCellSet.

Edited by Kenneth Moreland

Merge request reports

Loading