Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51605 - trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-03-04 09:24:16


Author: fmhess
Date: 2009-03-04 09:24:15 EST (Wed, 04 Mar 2009)
New Revision: 51605
URL: http://svn.boost.org/trac/boost/changeset/51605

Log:
Fixed "looser throw specifier for virtual" compile errors.

Text files modified:
   trunk/boost/signals2/last_value.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/signals2/last_value.hpp
==============================================================================
--- trunk/boost/signals2/last_value.hpp (original)
+++ trunk/boost/signals2/last_value.hpp 2009-03-04 09:24:15 EST (Wed, 04 Mar 2009)
@@ -25,7 +25,7 @@
     class no_slots_error: public std::exception
     {
     public:
- virtual const char* what() const {return "boost::signals2::no_slots_error";}
+ virtual const char* what() const throw() {return "boost::signals2::no_slots_error";}
     };
 
     template<typename T>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk