]> Creatis software - clitk.git/commitdiff
use of another vtkSmartPointer
authorbharath <bharath>
Thu, 12 Aug 2010 08:58:30 +0000 (08:58 +0000)
committerbharath <bharath>
Thu, 12 Aug 2010 08:58:30 +0000 (08:58 +0000)
common/vvImage.cxx

index 821de16ebb35c34067b2488ba93be5161ba9599f..066aaada7d0aa80d4d5281628820217bc414b392 100644 (file)
@@ -234,7 +234,7 @@ const std::vector<vtkImageData*>& vvImage::GetVTKImages()
 //--------------------------------------------------------------------
 
 //--------------------------------------------------------------------
-vtkImageData* vvImage::GetFirstVTKImageData()
+vtkSmartPointer<vtkImageData> vvImage::GetFirstVTKImageData()
 {
   return mVtkImages[0];
 }