aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 6493c61..67d254b 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -1461,7 +1461,7 @@ namespace build2
// it is unwise to try to do any kind of cleanup (like unwinding
// the stack and running destructors).
//
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();
@@ -1706,7 +1706,7 @@ namespace build2
// it is unwise to try to do any kind of cleanup (like unwinding
// the stack and running destructors).
//
- if (e.child ())
+ if (e.child)
exit (1);
throw failed ();