Commit b92e2cbc authored by Will Schroeder's avatar Will Schroeder

Compiler warnings

parent 0fb06f89
Pipeline #7877 passed with stage
......@@ -221,4 +221,4 @@ iren.Initialize()
#
renWin.Render()
iren.Start()
#iren.Start()
......@@ -63,6 +63,9 @@ struct BaseInterpolationPair
BaseInterpolationPair(vtkIdType num, int numComp) : Num(num), NumComp(numComp)
{
}
virtual ~BaseInterpolationPair()
{
}
virtual void Interpolate(int numWeights, const vtkIdType *ids,
const double *weights, vtkIdType outPtId) = 0;
......@@ -79,6 +82,9 @@ struct InterpolationPair : public BaseInterpolationPair
BaseInterpolationPair(num,numComp), Input(in), Output(out)
{
}
virtual ~InterpolationPair() //calm down some finicky compilers
{
}
virtual void Interpolate(int numWeights, const vtkIdType *ids,
const double *weights, vtkIdType outPtId)
......@@ -197,7 +203,8 @@ struct ProbePoints
ProbePoints(vtkDataSet *input, vtkInterpolationKernel *kernel,vtkAbstractPointLocator *loc,
vtkPointData *inPD, vtkPointData *outPD, int strategy, char *valid) :
Input(input), Kernel(kernel), Locator(loc), InPD(inPD), OutPD(outPD), Strategy(strategy), Valid(valid)
Input(input), Kernel(kernel), Locator(loc), InPD(inPD), OutPD(outPD),
Valid(valid), Strategy(strategy)
{
this->Arrays.AddArrays(input->GetNumberOfPoints(), inPD, outPD);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment