]> Creatis software - gdcm.git/commitdiff
*FIX: Solaris + gcc fixed induced backward error. (don't need ends at the end of...
authormalaterre <malaterre>
Fri, 14 Nov 2003 16:22:28 +0000 (16:22 +0000)
committermalaterre <malaterre>
Fri, 14 Nov 2003 16:22:28 +0000 (16:22 +0000)
src/gdcmHeader.cxx

index aa54cba0fb1a0096d7411bee8d4d9186de7c898a..0b02c516cbeb2664b9d5a186a25f77135520ffa6 100644 (file)
@@ -1,4 +1,4 @@
-// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.118 2003/11/13 18:49:08 malaterre Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.119 2003/11/14 16:22:28 malaterre Exp $
 
 #include "gdcmHeader.h"
 
@@ -1019,7 +1019,9 @@ void gdcmHeader::LoadElementValue(gdcmElValue * ElVal) {
             }
          }
       }                                        
+#ifdef GDCM_NO_ANSI_STRING_STREAM
       s << std::ends; // to avoid oddities on Solaris
+#endif //GDCM_NO_ANSI_STRING_STREAM
       ElVal->SetValue(s.str());
       return;  
    }