]> Creatis software - gdcm.git/commitdiff
BUG: identifier are meaningful in this case...
authormalaterre <malaterre>
Wed, 26 Oct 2005 15:36:19 +0000 (15:36 +0000)
committermalaterre <malaterre>
Wed, 26 Oct 2005 15:36:19 +0000 (15:36 +0000)
src/gdcmTagKey.h

index 6653618841edd6d54d87a06689e2ffb8a59433b3..ad325d20f2a6bb679ae7b7a5f288eb37c5d2f36a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmTagKey.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/26 15:34:33 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2005/10/26 15:36:19 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -63,12 +63,12 @@ public :
      tag[1] = _val[1];
      }
 
-   uint16_t &operator[](const unsigned int &_id) const
+   const uint16_t &operator[](const unsigned int &_id) const
    {
       assert(_id<2);
       return tag[_id];
    }
-   uint16_t &operator[](const unsigned int &_id)
+   const uint16_t &operator[](const unsigned int &_id)
    {
       assert(_id<2);
       return tag[_id];