Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51575 - trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-03-03 10:43:59


Author: fmhess
Date: 2009-03-03 10:43:58 EST (Tue, 03 Mar 2009)
New Revision: 51575
URL: http://svn.boost.org/trac/boost/changeset/51575

Log:
Added const qualification to no_slots_error::what().

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-03 10:43:58 EST (Tue, 03 Mar 2009)
@@ -25,7 +25,7 @@
     class no_slots_error: public std::exception
     {
     public:
- virtual const char* what() {return "boost::signals2::no_slots_error";}
+ virtual const char* what() const {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