forked from boostorg/exception
very minor change, making a constructor explicit.
[SVN r48919]
This commit is contained in:
1 parent
4cb98696a6
commit
ffa2e8d9e7
1 file changed
+4
@@ -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