From 662eabb8c68375a3ddcb2dc313432e5bd08eab77 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 3 Nov 2005 16:19:56 +0000 Subject: [PATCH] New() vs new() --- Testing/dynmodule.cxx | 6 +++--- Testing/loadmodule.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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); -- 2.49.0