usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/exception_types.hpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/exception_types.hpp
Date: Wed, 19 Jan 2005 20:15:11 -0500

Index: usata2/src/exception_types.hpp
diff -u usata2/src/exception_types.hpp:1.3 usata2/src/exception_types.hpp:1.4
--- usata2/src/exception_types.hpp:1.3  Sun Jan  9 08:57:22 2005
+++ usata2/src/exception_types.hpp      Thu Jan 20 01:15:09 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: exception_types.hpp,v 1.3 2005/01/09 08:57:22 skunix Exp $
+// $Id: exception_types.hpp,v 1.4 2005/01/20 01:15:09 skunix Exp $
 
 #ifndef USATA_EXCEPTION_TYPES_HPP
 #define USATA_EXCEPTION_TYPES_HPP
@@ -38,7 +38,7 @@
                std::string what_;
        public:
                FatalError(const std::string&w):what_(w){};
-               virtual const char*what()const throw()=0;
+               virtual const char*what()const throw(){return what_.c_str();};
                virtual ~FatalError()throw(){}
        };
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]