From ffa2e8d9e7e9f8c0a712cd0acc27e04985322641 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Mon, 22 Sep 2008 18:57:20 +0000 Subject: [PATCH] very minor change, making a constructor explicit. [SVN r48919] --- include/boost/exception/get_error_info.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/exception/get_error_info.hpp b/include/boost/exception/get_error_info.hpp index ec2b792..e45d3d6 100644 --- a/include/boost/exception/get_error_info.hpp +++ b/include/boost/exception/get_error_info.hpp @@ -22,12 +22,16 @@ boost { std::string str; char const * ptr; + + explicit strwrap( char const * s ): str(s), ptr(&str[0]) { } + private: + strwrap( strwrap const & ); strwrap & operator=( strwrap const & ); };