From 04a29624024ea302e5d58dcecdae74312b29632f Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 26 Oct 2005 15:36:19 +0000 Subject: [PATCH] BUG: identifier are meaningful in this case... --- src/gdcmTagKey.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gdcmTagKey.h b/src/gdcmTagKey.h index 66536188..ad325d20 100644 --- a/src/gdcmTagKey.h +++ b/src/gdcmTagKey.h @@ -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]; -- 2.48.1