From: malaterre Date: Mon, 2 May 2005 17:28:15 +0000 (+0000) Subject: COMP: Those things did not compile on VS60... dont understand what the author meant... X-Git-Tag: Version1.2.bp~736 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1fe34ecf6db1977790024ac1a0a4ce5be010b9d8;p=gdcm.git COMP: Those things did not compile on VS60... dont understand what the author meant... --- diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index d2d4cd85..7fb53f00 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/04/27 14:54:56 $ - Version: $Revision: 1.33 $ + Date: $Date: 2005/05/02 17:28:15 $ + Version: $Revision: 1.34 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) e1->SetLoadMode(NO_SEQ | NO_SHADOW); e1->Load( fileName.c_str() ); - if ( !e1->gdcm::Document::IsReadable() ) + if ( !e1->IsReadable() ) { delete e1; return 0; diff --git a/Example/exAnonymizeNoLoad.cxx b/Example/exAnonymizeNoLoad.cxx index 0417a74e..11db1401 100644 --- a/Example/exAnonymizeNoLoad.cxx +++ b/Example/exAnonymizeNoLoad.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exAnonymizeNoLoad.cxx,v $ Language: C++ - Date: $Date: 2005/04/27 12:40:28 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/05/02 17:28:15 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) f1->SetLoadMode(NO_SEQ - NO_SHADOW); f1->Load(fileName); // We want to process any kind of gdcm::Readable document - if (!f1->gdcm::Document::IsReadable()) { + if (!f1->IsReadable()) { std::cout <