diff options
Diffstat (limited to 'build2/cc/link.cxx')
-rw-r--r-- | build2/cc/link.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx index d36e5e1..5ab9d91 100644 --- a/build2/cc/link.cxx +++ b/build2/cc/link.cxx @@ -974,7 +974,7 @@ namespace build2 if (!pr.wait ()) throw failed (); // Assume diagnostics issued. } - catch (const ofdstream::failure& e) + catch (const io_error& e) { if (pr.wait ()) // Ignore if child failed. fail << "unable to pipe resource file to " << args[0] @@ -1489,7 +1489,7 @@ namespace build2 is.close (); } - catch (const ifdstream::failure&) {} // Assume exits with error. + catch (const io_error&) {} // Assume exits with error. } if (!pr.wait ()) |