Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48919 - trunk/boost/exception
From: emil_at_[hidden]
Date: 2008-09-22 14:57:21


Author: emildotchevski
Date: 2008-09-22 14:57:20 EDT (Mon, 22 Sep 2008)
New Revision: 48919
URL: http://svn.boost.org/trac/boost/changeset/48919

Log:
very minor change, making a constructor explicit.
Text files modified:
   trunk/boost/exception/get_error_info.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/get_error_info.hpp
==============================================================================
--- trunk/boost/exception/get_error_info.hpp (original)
+++ trunk/boost/exception/get_error_info.hpp 2008-09-22 14:57:20 EDT (Mon, 22 Sep 2008)
@@ -22,12 +22,16 @@
             {
                         std::string str;
             char const * ptr;
+
+ explicit
             strwrap( char const * s ):
                 str(s),
                 ptr(&str[0])
                 {
                 }
+
             private:
+
             strwrap( strwrap const & );
             strwrap & operator=( strwrap const & );
             };


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