]> Creatis software - gdcm.git/commitdiff
ENH: a fix for a broken compiler should NOT impact other compiler
authormalaterre <malaterre>
Fri, 18 Aug 2006 16:10:48 +0000 (16:10 +0000)
committermalaterre <malaterre>
Fri, 18 Aug 2006 16:10:48 +0000 (16:10 +0000)
src/gdcmVR.cxx
src/gdcmVR.h

index 9f1477a2c8d5714142141056246223d4096a77e9..0bac8c4f52a2932feb80fc3ae68ae8f339224a00 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmVR.cxx,v $
   Language:  C++
-  Date:      $Date: 2006/08/18 16:03:46 $
-  Version:   $Revision: 1.52 $
+  Date:      $Date: 2006/08/18 16:10:48 $
+  Version:   $Revision: 1.53 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -71,7 +71,6 @@ VR::VR()
       }
       from.close();
    }
-   char *VRvalues = "AEASCSDADSFLFDISLOLTPNSHSLSSSTTMUIULUSUTOBOWOFATUNSQ";
 }
 
 /**
@@ -171,6 +170,8 @@ unsigned short VR::GetAtomicElementLength(VRKey const &tested)
 bool VR::IsValidVR(VRKey const &tested)
 {
 //  return vr.find(key) != vr.end();
+  static char *VRvalues =
+    "AEASCSDADSFLFDISLOLTPNSHSLSSSTTMUIULUSUTOBOWOFATUNSQ";
 
   int nbVal=26;
   char *pt = VRvalues;
index 0799cd4f4c41a8dabbe4504ecb549336af3b0279..5f6da95c18653366fe1357ce9b9ddc4d6d7c1513 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmVR.h,v $
   Language:  C++
-  Date:      $Date: 2006/07/10 08:27:28 $
-  Version:   $Revision: 1.30 $
+  Date:      $Date: 2006/08/18 16:11:36 $
+  Version:   $Revision: 1.31 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -75,7 +75,6 @@ protected:
 
 private:
    VRHT vr;
-   static char *VRvalues;
 };
 } // end namespace gdcm