From b8cb07f456ed4bf1374e0db3b7aeb09bfcf8ad8b Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 7 Sep 2023 14:35:03 +0200 Subject: [PATCH] stream: cleanup Signed-off-by: Simon Rozman --- include/stdex/stream.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdex/stream.hpp b/include/stdex/stream.hpp index 289a8c07e..794b5957a 100644 --- a/include/stdex/stream.hpp +++ b/include/stdex/stream.hpp @@ -2170,7 +2170,7 @@ namespace stdex sys_object::close(); m_state = state_t::ok; } - catch (const std::exception&) { + catch (...) { m_state = state_t::fail; } }