From: jpr Date: Wed, 24 Sep 2003 14:29:23 +0000 (+0000) Subject: ostream replaced by std::ostream X-Git-Tag: Version0.3.1~145 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=97179b631f44205cdb2b4e2548fcdea4f0463d11;hp=9a20ecd3e79d8f14e4d4102955b6f26463c1c0cd;p=gdcm.git ostream replaced by std::ostream --- diff --git a/src/gdcmElValSet.cxx b/src/gdcmElValSet.cxx index 73a4930e..2dd8e846 100644 --- a/src/gdcmElValSet.cxx +++ b/src/gdcmElValSet.cxx @@ -59,7 +59,7 @@ int gdcmElValSet::CheckIfExistByNumber(guint16 Group, guint16 Elem ) { * \ingroup gdcmElValSet * \brief */ -void gdcmElValSet::Print(ostream & os) { +void gdcmElValSet::Print(std::ostream & os) { size_t o; short int g, e; @@ -102,7 +102,7 @@ void gdcmElValSet::Print(ostream & os) { * \ingroup gdcmElValSet * \brief */ -void gdcmElValSet::PrintByName(ostream & os) { +void gdcmElValSet::PrintByName(std::ostream & os) { for (TagElValueNameHT::iterator tag = NameHt.begin(); tag != NameHt.end(); ++tag){ diff --git a/src/gdcmException.cxx b/src/gdcmException.cxx index d3120b94..ef908db9 100644 --- a/src/gdcmException.cxx +++ b/src/gdcmException.cxx @@ -89,7 +89,7 @@ std::ostream& operator<<(std::ostream &os, const gdcmException &e) { os << "Exception " << e.getName() << " thrown: " << e.getError() << std::endl; } catch(...) { - gdcmException::fatal("operator<<(ostream &, const gdcmException&)"); + gdcmException::fatal("operator<<(std::ostream &, const gdcmException&)"); } return os; }