Skip to content

Commit 3a691a1

Browse files
4JustMe4Gazizonoki
authored andcommitted
Use uncaught_exceptions instead of removed in c++20 uncaught_exception (#16380)
1 parent 22f831d commit 3a691a1

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)