make unused exception less expensive

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21276 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-10-29 22:58:08 +00:00
parent 507c651dd5
commit 6616c59385

View File

@ -16,7 +16,7 @@
#include "support/types.h"
#include <string>
#include <typeinfo>
//#include <typeinfo>
namespace lyx {
@ -42,9 +42,9 @@ std::string const to_utf8(docstring const &);
docstring const from_local8bit(std::string const & s);
/// Exception thrown by to_local8bit if the string could not be converted
class to_local8bit_failure : public std::bad_cast {
class to_local8bit_failure /*: public std::bad_cast*/ {
public:
to_local8bit_failure() throw() : std::bad_cast() {}
to_local8bit_failure() throw() /*: std::bad_cast()*/ {}
virtual ~to_local8bit_failure() throw() {}
virtual const char* what() const throw();
};