From: jpr Date: Thu, 3 Nov 2005 16:19:56 +0000 (+0000) Subject: New() vs new() X-Git-Tag: OpenJPEG.Version1.2~66 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=662eabb8c68375a3ddcb2dc313432e5bd08eab77;p=gdcm.git New() vs new() --- diff --git a/Testing/dynmodule.cxx b/Testing/dynmodule.cxx index 2c9a664d..97772546 100644 --- a/Testing/dynmodule.cxx +++ b/Testing/dynmodule.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: dynmodule.cxx,v $ Language: C++ - Date: $Date: 2005/09/19 18:54:10 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/11/03 16:19:57 $ + 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 @@ -30,7 +30,7 @@ extern "C" __ELX_DLLEXPORT void afunc(void) // Create an instance of a gdcm class. This makes sure // that the problematic gdcm-library is linked. - gdcm::File *file = new gdcm::File(); + gdcm::File *file = gdcm::File::New(); std::cerr << "End of function afunc" << std::endl; 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);