X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestValidate.cxx;h=ebe4a32e109092c9211cf0688a03d6ae396bfbb1;hb=9c76b9a60c1e859bfcd43f4089304827c8361be5;hp=d9153ee29147b8d2d597dd570ed700716d442358;hpb=d55a466e9ddf418376383378ace8241f73be0651;p=gdcm.git diff --git a/Testing/TestValidate.cxx b/Testing/TestValidate.cxx index d9153ee2..ebe4a32e 100644 --- a/Testing/TestValidate.cxx +++ b/Testing/TestValidate.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestValidate.cxx,v $ Language: C++ - Date: $Date: 2005/11/21 10:02:57 $ - Version: $Revision: 1.10 $ + Date: $Date: 2007/06/21 14:59:06 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -28,10 +28,10 @@ int Validate(std::string const &filename); int Validate(std::string const &filename) { - gdcm::File *input = gdcm::File::New( ); + GDCM_NAME_SPACE::File *input = GDCM_NAME_SPACE::File::New( ); input->SetFileName(filename); input->Load(); - gdcm::Validator *v = gdcm::Validator::New(); + GDCM_NAME_SPACE::Validator *v = GDCM_NAME_SPACE::Validator::New(); v->SetInput( input ); input->Delete(); v->Delete();