diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-25 13:41:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-25 13:41:19 +0200 |
commit | 95239b7c5404965d4f5ef997b5b75bf542a25192 (patch) | |
tree | 1b4fc6229723babffa7c5d56ee0c2eae24215535 /build/cxx/module.cxx | |
parent | f56b5a42b9aaaeb0c4e7dee894dea9686599b88c (diff) |
Part one of dependency injection with auto-generation support
Diffstat (limited to 'build/cxx/module.cxx')
-rw-r--r-- | build/cxx/module.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx index 495819d..7e6a211 100644 --- a/build/cxx/module.cxx +++ b/build/cxx/module.cxx @@ -71,11 +71,11 @@ namespace build bool r (getline (is, ver)); - if (!pr.wait ()) - throw failed (); - if (!r) fail << "unexpected output from " << cxx; + + if (!pr.wait ()) + throw failed (); } catch (const process_error& e) { |