]> Creatis software - gdcm.git/blobdiff - Example/FindTags.cxx
BUG: Remove demangle code this was seg faulting on some linux gcc 3.3.2 machine
[gdcm.git] / Example / FindTags.cxx
index 46aea14bc2f47702e5c01afe4bd4fbbec585fbac..20a3d52ae9007dfeb699c0c746d176989116f1be 100644 (file)
@@ -1,5 +1,4 @@
 #include <iostream>
-//#include <glib.h>
 #include "gdcm.h"
 #include "math.h"
 
@@ -7,14 +6,14 @@ int main(int argc, char* argv[]) {
 
    std::string toto, titi;
 
-   gdcmFile  * f1;
+   gdcm::File  * f1;
 
    if(argc > 1 )
-      f1 = new gdcmFile(argv[1]);
+      f1 = new gdcm::File(argv[1]);
    else  {
       toto = GDCM_DATA_ROOT;
       toto += "/test.acr";
-      f1 = new gdcmFile(toto);
+      f1 = new gdcm::File(toto);
    }
 
    std::string ManufacturerName="SIEMENS ";