mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
do not define boost::throw_exceptions if we are compiling with exceptions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
917e9bd0ce
commit
e7fc677261
@ -22,13 +22,14 @@ using std::endl;
|
||||
|
||||
namespace boost {
|
||||
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
void throw_exception(std::exception const & e)
|
||||
{
|
||||
lyxerr << "Exception caught:\n"
|
||||
<< e.what() << endl;
|
||||
BOOST_ASSERT(false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user