Skip to content

Commit 930f79d

Browse files
committed
fix C++17 deprecation
1 parent 0be4ec6 commit 930f79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/interrupt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void check_interrupted() {
6464
if (g_cancel_tk) {
6565
inc_ref(g_cancel_tk);
6666
if (lean_io_cancel_token_is_set(g_cancel_tk) &&
67-
!std::uncaught_exception()) {
67+
!std::uncaught_exceptions()) {
6868
throw interrupted();
6969
}
7070
}

0 commit comments

Comments
 (0)