X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmException.cxx;h=ef908db918687a1534b1d7e44591afa8c3092890;hb=97179b631f44205cdb2b4e2548fcdea4f0463d11;hp=66bcb985cfe01e67e7b337f67b21fb33bbff975c;hpb=b950a88db3b779f409f548361bbc62882094b9fb;p=gdcm.git diff --git a/src/gdcmException.cxx b/src/gdcmException.cxx index 66bcb985..ef908db9 100644 --- a/src/gdcmException.cxx +++ b/src/gdcmException.cxx @@ -84,12 +84,12 @@ gdcmException::operator const char *() const throw() { } -ostream& operator<<(ostream &os, const gdcmException &e) { +std::ostream& operator<<(std::ostream &os, const gdcmException &e) { try { 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; }