X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2Floadmodule.cxx;h=0d72007cb2f6d7ddbc06397cc26f73e2f97ac55d;hb=bd7bec4c367d671a9da358584e98a8ec29bb641e;hp=2cf7de4766bb2531c639a024e4dec673ea661205;hpb=e52b6b54728afa0a469a427ffd4eed3c4b5aa2de;p=gdcm.git diff --git a/Testing/loadmodule.cxx b/Testing/loadmodule.cxx index 2cf7de47..0d72007c 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/07 10:18:20 $ + Version: $Revision: 1.3 $ 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,8 @@ 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(); + file->Print(); // to avoid warning std::cerr << "Closing libs" << std::endl; //dl::CloseLibrary(handle);