no message

[SVN r18142]
This commit is contained in:
Terje Slettebø
2003-03-31 23:02:27 +00:00
parent 1937e3a12a
commit 8828af5f5b

View File

@@ -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";