X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2Floadmodule.cxx;h=a27aa99509052f08ca839b503f164d459629a0c7;hb=67747c7bb4d55b6d9c862ad50b8de6f034df9367;hp=2cf7de4766bb2531c639a024e4dec673ea661205;hpb=e52b6b54728afa0a469a427ffd4eed3c4b5aa2de;p=gdcm.git diff --git a/Testing/loadmodule.cxx b/Testing/loadmodule.cxx index 2cf7de47..a27aa995 100644 --- a/Testing/loadmodule.cxx +++ b/Testing/loadmodule.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: loadmodule.cxx,v $ Language: C++ - Date: $Date: 2005/09/19 18:54:10 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/11/03 16:19:56 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -77,7 +77,7 @@ int main(int, char* []) // Create an instance of the GDCMImageIO class. This makes sure // that the problematic gdcm-library is linked. //itk::GDCMImageIO::Pointer gdcmio = itk::GDCMImageIO::New(); - gdcm::File *file = new gdcm::File(); + gdcm::File *file = gdcm::File::New(); std::cerr << "Closing libs" << std::endl; //dl::CloseLibrary(handle);