X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestVR.cxx;h=26e8144f0cff02c8c4a15fbb54b88b501761d242;hb=7e67e246cf5b7e08d57f6ca1dee617d36d3f8dc5;hp=303ec22dfaa1f422bc38d3e20df6cd44c982ffef;hpb=f541928adfc662b7ae54169e75d2bcf05566b724;p=gdcm.git diff --git a/Testing/TestVR.cxx b/Testing/TestVR.cxx index 303ec22d..26e8144f 100644 --- a/Testing/TestVR.cxx +++ b/Testing/TestVR.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestVR.cxx,v $ Language: C++ - Date: $Date: 2005/10/21 08:28:02 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/10/25 14:52:31 $ + 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 @@ -21,7 +21,7 @@ int TestVR(int , char *[]) { int error = 0; - gdcm::VR *vr = new gdcm::VR(); + gdcm::VR *vr = gdcm::VR::New(); gdcm::Debug::DebugOn(); @@ -96,6 +96,6 @@ int TestVR(int , char *[]) error++; } - delete vr; + vr->Delete(); return error; }