We need to call this from more than one place in bees.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
thread_local bool BeesTracer::tl_first = true;
thread_local bool BeesTracer::tl_silent = false;
-#if __cplusplus >= 201703
-static
bool
exception_check()
{
+#if __cplusplus >= 201703
return uncaught_exceptions();
-}
#else
-static
-bool
-exception_check()
-{
return uncaught_exception();
-}
#endif
+}
BeesTracer::~BeesTracer()
{
void bees_unreadahead(int fd, off_t offset, size_t size);
void bees_throttle(double time_used, const char *context);
string format_time(time_t t);
+bool exception_check();
#endif