Update of /cvsroot/pclasses/pclasses2/include/pclasses
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8763/include/pclasses
Modified Files:
Time.h
Log Message:
Fixed throw-specifiers.
Index: Time.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Time.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Time.h 20 Jan 2005 22:49:40 -0000 1.4
+++ Time.h 24 Jan 2005 01:22:56 -0000 1.5
@@ -66,11 +66,11 @@
Time& operator=(const Time& t) throw();
- Time& operator+=(const TimeSpan& sp) throw();
- Time& operator-=(const TimeSpan& sp) throw();
+ Time& operator+=(const TimeSpan& sp) throw(OverflowError);
+ Time& operator-=(const TimeSpan& sp) throw(OverflowError);
- friend PCORE_EXPORT Time operator+(const Time& t, const TimeSpan& sp) throw();
- friend PCORE_EXPORT Time operator-(const Time& t, const TimeSpan& sp) throw();
+ friend PCORE_EXPORT Time operator+(const Time& t, const TimeSpan& sp) throw(OverflowError);
+ friend PCORE_EXPORT Time operator-(const Time& t, const TimeSpan& sp) throw(OverflowError);
friend PCORE_EXPORT std::ostream& operator << (std::ostream& os, const Time& t);
|