mirror of
https://github.com/boostorg/exception.git
synced 2025-07-23 00:57:14 +02:00
very minor change, making a constructor explicit.
[SVN r48919]
This commit is contained in:
@ -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 & );
|
||||
};
|
||||
|
Reference in New Issue
Block a user