From 8828af5f5bec14e2a9af48d58aa22080281b8ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Terje=20Sletteb=C3=B8?= Date: Mon, 31 Mar 2003 23:02:27 +0000 Subject: [PATCH] no message [SVN r18142] --- include/boost/lexical_cast.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/lexical_cast.hpp b/include/boost/lexical_cast.hpp index f473d15..1043b15 100644 --- a/include/boost/lexical_cast.hpp +++ b/include/boost/lexical_cast.hpp @@ -39,8 +39,8 @@ namespace boost class bad_lexical_cast : public std::bad_cast { public: - bad_lexical_cast() - : source(&typeid(void)), target(&typeid(void)) + bad_lexical_cast() : + source(&typeid(void)), target(&typeid(void)) { } bad_lexical_cast( @@ -57,7 +57,7 @@ namespace boost { return *target; } - virtual const char *what() throw() + virtual const char *what() const throw() { return "bad lexical cast: " "source type value could not be interpreted as target";