From 6bb7ca86497b9bf9a068010117cddd8c677765bd Mon Sep 17 00:00:00 2001 From: darkeye Date: Fri, 17 Nov 2000 15:33:54 +0000 Subject: [PATCH] bug fix: ostream << operator overload didn't return the ostream --- darkice/trunk/src/Exception.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/darkice/trunk/src/Exception.h b/darkice/trunk/src/Exception.h index 1b0cc08..5fd6125 100644 --- a/darkice/trunk/src/Exception.h +++ b/darkice/trunk/src/Exception.h @@ -288,6 +288,8 @@ operator<< ( ostream & os, { os << e.getFile() << ":" << e.getLine() << ": " << e.getDescription() << " [" << e.getCode() << "]"; + + return os; } @@ -300,6 +302,9 @@ operator<< ( ostream & os, $Source$ $Log$ + Revision 1.5 2000/11/17 15:33:54 darkeye + bug fix: ostream << operator overload didn't return the ostream + Revision 1.4 2000/11/11 12:33:13 darkeye added kdoc-style documentation