From 3473cc68f59911cb6659634fdc577f882c8128de Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 15 Sep 2016 17:06:24 +0300 Subject: Add io_error alias for std::ios_base::failure --- build2/cli/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cli/init.cxx') diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx index c14f7cf..b41e095 100644 --- a/build2/cli/init.cxx +++ b/build2/cli/init.cxx @@ -122,7 +122,7 @@ namespace build2 // Presumably issued diagnostics. Fall through. } - catch (const ifdstream::failure&) + catch (const io_error&) { pr.wait (); -- cgit v1.1