mirror of
https://github.com/boostorg/exception.git
synced 2025-07-23 17:17:16 +02:00
very minor change, making a constructor explicit.
[SVN r48919]
This commit is contained in:
@ -22,12 +22,16 @@ boost
|
|||||||
{
|
{
|
||||||
std::string str;
|
std::string str;
|
||||||
char const * ptr;
|
char const * ptr;
|
||||||
|
|
||||||
|
explicit
|
||||||
strwrap( char const * s ):
|
strwrap( char const * s ):
|
||||||
str(s),
|
str(s),
|
||||||
ptr(&str[0])
|
ptr(&str[0])
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
strwrap( strwrap const & );
|
strwrap( strwrap const & );
|
||||||
strwrap & operator=( strwrap const & );
|
strwrap & operator=( strwrap const & );
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user