summaryrefslogtreecommitdiffstats
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.h b/src/build.h
index c75bde1..778d59d 100644
--- a/src/build.h
+++ b/src/build.h
@@ -98,7 +98,7 @@ struct CommandRunner {
/// Options (e.g. verbosity, parallelism) passed to a build.
struct BuildConfig {
BuildConfig() : verbosity(NORMAL), dry_run(false), parallelism(1),
- swallow_failures(0) {}
+ failures_allowed(1) {}
enum Verbosity {
NORMAL,
@@ -108,7 +108,7 @@ struct BuildConfig {
Verbosity verbosity;
bool dry_run;
int parallelism;
- int swallow_failures;
+ int failures_allowed;
};
/// Builder wraps the build process: starting commands, updating status.