From 8b69cab7c802a0d0bd9cc90da33002dd5f86042f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 15 Sep 2016 16:26:23 +0300 Subject: Add io_error alias for std::ios_base::failure --- bpkg/rep-info.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/rep-info.cxx') diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index cdad96b..355d8b8 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -242,7 +242,7 @@ namespace bpkg { fail << "unable to serialize manifest: " << e.description; } - catch (const ostream::failure&) + catch (const io_error&) { fail << "unable to write to STDOUT"; } -- cgit v1.1