forked from boostorg/conversion
no message
[SVN r18142]
This commit is contained in:
@@ -39,8 +39,8 @@ namespace boost
|
|||||||
class bad_lexical_cast : public std::bad_cast
|
class bad_lexical_cast : public std::bad_cast
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bad_lexical_cast()
|
bad_lexical_cast() :
|
||||||
: source(&typeid(void)), target(&typeid(void))
|
source(&typeid(void)), target(&typeid(void))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
bad_lexical_cast(
|
bad_lexical_cast(
|
||||||
@@ -57,7 +57,7 @@ namespace boost
|
|||||||
{
|
{
|
||||||
return *target;
|
return *target;
|
||||||
}
|
}
|
||||||
virtual const char *what() throw()
|
virtual const char *what() const throw()
|
||||||
{
|
{
|
||||||
return "bad lexical cast: "
|
return "bad lexical cast: "
|
||||||
"source type value could not be interpreted as target";
|
"source type value could not be interpreted as target";
|
||||||
|
Reference in New Issue
Block a user