X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestSerieHelper.cxx;h=77bd81d4d4da819a6150b9d541abc078c4f59567;hb=db42e5541964319d882c965dc6d0284806ff0489;hp=800a0c175854f94931501c847a04d71b18b3bf9e;hpb=779c8f5232ad160d353b90d3fa47d0503e17965d;p=gdcm.git diff --git a/Testing/TestSerieHelper.cxx b/Testing/TestSerieHelper.cxx index 800a0c17..77bd81d4 100644 --- a/Testing/TestSerieHelper.cxx +++ b/Testing/TestSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2005/10/17 09:55:36 $ - Version: $Revision: 1.9 $ + Date: $Date: 2005/11/14 15:56:55 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -38,7 +38,7 @@ int TestSerieHelper(int argc, char *argv[]) std::cout << "Dir Name :[" << dirName << "]" << std::endl; - s = new gdcm::SerieHelper(); + s = gdcm::SerieHelper::New(); s->SetLoadMode(gdcm::LD_ALL); // Load everything for each File //s->AddRestriction(tagKey, valueToCheck); // Keep only files where // restriction is true @@ -87,7 +87,7 @@ int TestSerieHelper(int argc, char *argv[]) } - delete s; + s->Delete(); return 0; }