Commit f604bfa9 authored by Brad King's avatar Brad King
Browse files

COMP: Removed use of deprecated macros.

parent d2da3be7
......@@ -21,7 +21,7 @@
//----------------------------------------------------------------------------
vtkCxxRevisionMacro(vtkImageFoo, "1.9");
vtkCxxRevisionMacro(vtkImageFoo, "1.10");
vtkStandardNewMacro(vtkImageFoo);
//----------------------------------------------------------------------------
......@@ -133,8 +133,10 @@ void vtkImageFooExecute1(vtkImageFoo *self,
switch (outData->GetScalarType())
{
vtkTemplateMacro7(vtkImageFooExecute, self, inData, inPtr,
outData, (VTK_TT *)(outPtr),outExt, id);
vtkTemplateMacro(
vtkImageFooExecute(self, inData, inPtr,
outData, (VTK_TT *)(outPtr),outExt, id)
);
default:
vtkGenericWarningMacro("Execute: Unknown input ScalarType");
return;
......@@ -156,8 +158,10 @@ void vtkImageFoo::ThreadedExecute(vtkImageData *inData,
switch (inData->GetScalarType())
{
vtkTemplateMacro6(vtkImageFooExecute1, this,
inData, (VTK_TT *)(inPtr), outData, outExt, id);
vtkTemplateMacro(
vtkImageFooExecute1(this, inData, (VTK_TT *)(inPtr),
outData, outExt, id)
);
default:
vtkErrorMacro(<< "Execute: Unknown ScalarType");
return;
......
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