X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmVRKey.h;h=f743412a2778e14a51b6587eb7ec234120c45dc8;hb=3b55960a8c7952d04a6a65519cee4d60ff40321d;hp=a594abbc7f1ee2287d9246aa8c7cc393a44bd460;hpb=9aa702d6397e3e490263a0791dd6c8ed2f3d1e83;p=gdcm.git diff --git a/src/gdcmVRKey.h b/src/gdcmVRKey.h index a594abbc..f743412a 100644 --- a/src/gdcmVRKey.h +++ b/src/gdcmVRKey.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmVRKey.h,v $ Language: C++ - Date: $Date: 2005/10/19 13:17:05 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/10/19 16:51:11 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -22,6 +22,7 @@ #include "gdcmCommon.h" #include +#include // important namespace gdcm { @@ -106,13 +107,13 @@ private : //----------------------------------------------------------------------------- inline std::ostream& operator<<(std::ostream& _os, const VRKey &_val) { - _os << _val.key[0] << _val[1]; + _os << _val.key[0] << _val.key[1]; return _os; } inline std::istream& operator>>(std::istream& _is, VRKey &_val) { - _is >> _val.key[0] >> _val[1]; + _is >> _val.key[0] >> _val.key[1]; return _is; }