X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestAllReadCompareDicom.cxx;h=7ed852ec505544a1fc3ed0521ff6fb06405cf758;hb=f6204e4795251ff95c653e32e8cdca61d2c19880;hp=9e10924e584cae4ebed5f213ee06f80d438b181f;hpb=11fc54d61470c43ef09edf0c543906ed1973bf3c;p=gdcm.git diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index 9e10924e..7ed852ec 100644 --- a/Testing/TestAllReadCompareDicom.cxx +++ b/Testing/TestAllReadCompareDicom.cxx @@ -8,7 +8,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile { std::cout << " Testing: " << filename << std::endl; - gdcmFile* tested = new gdcmFile( filename ); + gdcm::File* tested = new gdcm::File( filename ); if( !tested->GetHeader()->IsReadable() ) { std::cout << " Image not gdcm compatible:" @@ -44,7 +44,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile ////// When reference file is not gdcm readable test is failed: - gdcmFile* reference = new gdcmFile( referenceFileName.c_str() ); + gdcm::File* reference = new gdcm::File( referenceFileName ); if( !reference->GetHeader()->IsReadable() ) { std::cout << " Reference image " << std::endl