Merge pull request #2 from jzmaddock/patch-1
Allow timer to be built with -fno-exceptions
This commit is contained in:
commit
a8e1fefd5f
@ -251,13 +251,17 @@ namespace boost
|
||||
if (!is_stopped())
|
||||
{
|
||||
stop(); // the sooner we stop(), the better
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
try
|
||||
{
|
||||
#endif
|
||||
report();
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
}
|
||||
catch (...) // eat any exceptions
|
||||
{
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user