X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FVTKTestWrite.cxx;h=9f2aa9beed3809b97ac16324c899a4e486bb9cbe;hb=1de7de1607a97c20218451b8d8269c1e0ea132b2;hp=34bfd060fe0a0d98f7687cab18bda8c2c971c4d9;hpb=2f84c0af92d1ea53c7ea56950c21cd4ed589b16a;p=gdcm.git diff --git a/Testing/VTKTestWrite.cxx b/Testing/VTKTestWrite.cxx index 34bfd060..9f2aa9be 100644 --- a/Testing/VTKTestWrite.cxx +++ b/Testing/VTKTestWrite.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: VTKTestWrite.cxx,v $ Language: C++ - Date: $Date: 2005/09/08 14:40:15 $ - Version: $Revision: 1.11 $ + Date: $Date: 2007/09/18 07:58:38 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,6 +26,7 @@ #include "vtkImageShiftScale.h" #include +#include //Generated file: #include "gdcmDataImages.h" @@ -170,7 +171,7 @@ int VTKWriteTest(vtkTesting *t,vtkImageViewer *viewer, //---------------------------------------------------------------------- // make test - ostrstream str; + std::ostringstream str; retVal = t->RegressionTest(image,0.0,str); image->UnRegister(NULL); @@ -178,7 +179,6 @@ int VTKWriteTest(vtkTesting *t,vtkImageViewer *viewer, { std::cerr << str.str(); } - str.rdbuf()->freeze(1); if( retVal == vtkTesting::PASSED ) {