aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-15 16:26:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-16 13:03:13 +0300
commit8b69cab7c802a0d0bd9cc90da33002dd5f86042f (patch)
treeb7bc7c020ffb440b5b8f203ed4a91d9f0f5793a2 /bpkg/rep-create.cxx
parent564801acd608513adb07244829735ffb2669685d (diff)
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index 2d682f8..da44d3b 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -5,7 +5,6 @@
#include <bpkg/rep-create>
#include <map>
-#include <iostream>
#include <butl/fdstream>
#include <butl/filesystem> // dir_iterator
@@ -263,7 +262,7 @@ namespace bpkg
{
fail << "unable to save manifest: " << e.description;
}
- catch (const ofdstream::failure& e)
+ catch (const io_error& e)
{
fail << "unable to write to " << p << ": " << e.what ();
}