Skip to content

Commit 1e69303

Browse files
committed
Use uncaught_exceptions instead of removed in c++20 uncaught_exception (#16380)
1 parent 2df27f3 commit 1e69303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/persqueue_public/ut/read_session_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ TReadSessionImplTestSetup::TReadSessionImplTestSetup() {
595595
}
596596

597597
TReadSessionImplTestSetup::~TReadSessionImplTestSetup() noexcept(false) {
598-
if (!std::uncaught_exception()) { // Exiting from test successfully. Check additional expectations.
598+
if (!std::uncaught_exceptions()) { // Exiting from test successfully. Check additional expectations.
599599
MockProcessorFactory->Wait();
600600
MockProcessor->Wait();
601601

0 commit comments

Comments
 (0)