diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-15 16:26:23 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-16 13:03:13 +0300 |
commit | 8b69cab7c802a0d0bd9cc90da33002dd5f86042f (patch) | |
tree | b7bc7c020ffb440b5b8f203ed4a91d9f0f5793a2 /bpkg/pkg-verify.cxx | |
parent | 564801acd608513adb07244829735ffb2669685d (diff) |
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r-- | bpkg/pkg-verify.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index ea072d9..1423d82 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -78,7 +78,7 @@ namespace bpkg throw failed (); } } - catch (const ifdstream::failure&) + catch (const io_error&) { if (pr.wait ()) { @@ -157,7 +157,7 @@ namespace bpkg throw failed (); } - catch (const ifdstream::failure& e) + catch (const io_error& e) { if (diag) error << "unable to read from " << mf << ": " << e.what (); |