From: malaterre Date: Mon, 11 Jul 2005 18:29:58 +0000 (+0000) Subject: COMP: Add support for gcc295 X-Git-Tag: Version1.2.bp~316 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=14c0c9dd8d1a63335a702558a59278f11866a61f;hp=8a6622e63dd21202b5be2bbcf08db3943ef9655a;p=gdcm.git COMP: Add support for gcc295 --- diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index 77bb044f..c5788454 100644 --- a/src/gdcmCommon.h +++ b/src/gdcmCommon.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmCommon.h,v $ Language: C++ - Date: $Date: 2005/07/11 18:13:16 $ - Version: $Revision: 1.76 $ + Date: $Date: 2005/07/11 18:29:58 $ + Version: $Revision: 1.77 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -134,11 +134,11 @@ typedef union { /* ostream operator for TagKey */ inline std::ostream& operator<<(std::ostream& _O, TagKey _val) { - return ( _O << std::right << std::setw(4) << std::setfill('0') << std::hex - << _val.tab[0] << "|" << std::right << std::setw(4) << - std::setfill('0') << std::hex << _val.tab[1] + return ( _O << std::ios::right << std::setw(4) << std::setfill('0') << std::hex + << _val.tab[0] << "|" << std::ios::right << std::setw(4) << + std::setfill('0') << std::hex << _val.tab[1] // put back defaults: - << std::setfill(' ') << std::left << std::dec); + << std::setfill(' ') << std::ios::left << std::dec); }; inline bool operator==(TagKey _self, TagKey _val) {