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 & ); };