]> Creatis software - gdcm.git/blobdiff - src/gdcmVR.cxx
ENH: a fix for a broken compiler should NOT impact other compiler
[gdcm.git] / src / gdcmVR.cxx
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;