]> Creatis software - clitk.git/blobdiff - common/vvImage.cxx
ostream does not handle std::string (check http://www.cplusplus.com/reference/iostrea...
[clitk.git] / common / vvImage.cxx
index 821de16ebb35c34067b2488ba93be5161ba9599f..4675cf5b661453428bd561d81bbc623c75be092c 100644 (file)
@@ -296,7 +296,7 @@ void vvImage::UpdateReslice()
 //--------------------------------------------------------------------
 vtkImageData * CopyAndCastToFloatFrom(vtkImageData * input)
 {
-  vtkSmartPointer<vtkImageData>  p = vtkSmartPointer<vtkImageData>::New();
+  vtkImageData * p = vtkImageData::New();
   p->SetExtent(input->GetExtent ()); // Only first ! could not be 4D
   p->SetScalarTypeToFloat();
   p->AllocateScalars();