From 95239b7c5404965d4f5ef997b5b75bf542a25192 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Jun 2015 13:41:19 +0200 Subject: Part one of dependency injection with auto-generation support --- build/cxx/module.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/cxx/module.cxx') 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) { -- cgit v1.1