mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
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:
parent
507c651dd5
commit
6616c59385
@ -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();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user