summaryrefslogtreecommitdiffstats
path: root/build2/cc/msvc.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:06:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:15:26 +0300
commit3473cc68f59911cb6659634fdc577f882c8128de (patch)
treea49450c846bf4ac8ae6159f35f36406cfe58221a /build2/cc/msvc.cxx
parent0ce6a95f5fca35888632551181e2c3756e38942c (diff)
downloadbuild2-3473cc68f59911cb6659634fdc577f882c8128de.tar.gz
build2-3473cc68f59911cb6659634fdc577f882c8128de.tar.xz
build2-3473cc68f59911cb6659634fdc577f882c8128de.zip
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'build2/cc/msvc.cxx')
-rw-r--r--build2/cc/msvc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/msvc.cxx b/build2/cc/msvc.cxx
index 80beb09a..52610725 100644
--- a/build2/cc/msvc.cxx
+++ b/build2/cc/msvc.cxx
@@ -192,7 +192,7 @@ namespace build2
}
}
}
- catch (const ifdstream::failure&)
+ catch (const io_error&)
{
// Presumably the child process failed. Let run_finish() deal with
// that.