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/types | |
parent | 564801acd608513adb07244829735ffb2669685d (diff) |
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'bpkg/types')
-rw-r--r-- | bpkg/types | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ #include <ostream> #include <functional> // function, reference_wrapper +#include <ios> // ios_base::failure #include <exception> // exception #include <stdexcept> // logic_error, invalid_argument, runtime_error #include <system_error> @@ -60,6 +61,7 @@ namespace bpkg using std::invalid_argument; using std::runtime_error; using std::system_error; + using io_error = std::ios_base::failure; // <butl/optional> // |