From 2ddc00326a9d6b647e7213212d0241a60be68256 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Jul 2016 16:36:05 +0200 Subject: Don't throw bool as exception, compiler support seems buggy there --- tests/fdstream/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx index 0c6c480..03eab80 100644 --- a/tests/fdstream/driver.cxx +++ b/tests/fdstream/driver.cxx @@ -263,9 +263,9 @@ main () try { ofdstream ofs (f); - throw true; + throw ios::failure ("test"); } - catch (bool) + catch (const ios::failure&) { } -- cgit v1.1