From: jpr Date: Thu, 21 Jul 2005 14:05:09 +0000 (+0000) Subject: LEGACY warnings hunting X-Git-Tag: Version1.2.bp~275 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=58255d78f79b6243b8bf0aee742801dc1dd655a9;p=gdcm.git LEGACY warnings hunting --- diff --git a/Testing/TestMakeIcon.cxx b/Testing/TestMakeIcon.cxx index 017cc2de..e78c37f1 100644 --- a/Testing/TestMakeIcon.cxx +++ b/Testing/TestMakeIcon.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestMakeIcon.cxx,v $ Language: C++ - Date: $Date: 2005/07/08 13:39:57 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/07/21 14:05:09 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -88,7 +88,9 @@ int TestMakeIcon (int argc, char *argv[]) delete f; - f = new gdcm::File(output); + f = new gdcm::File(); + f->SetFileName(output); + f->Load(); f->Print(); std::cout << "End of Print" << std::endl;