aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-23 12:45:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-23 12:45:22 +0200
commit0ca011d1220207b3c1cba92791413f113ec66329 (patch)
tree855224e36408fc80ec7d47741b59ce4524402240 /libbuild2/context.cxx
parent20f97f06ce54c31e32cf58cfd1b7cae3617c1661 (diff)
keep_going
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r--libbuild2/context.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx
index b1b45eb..1b1b9f6 100644
--- a/libbuild2/context.cxx
+++ b/libbuild2/context.cxx
@@ -50,9 +50,10 @@ namespace build2
};
context::
- context (scheduler& s, const strings& cmd_vars)
+ context (scheduler& s, const strings& cmd_vars, bool kg)
: data_ (new data (*this)),
sched (s),
+ keep_going (kg),
phase_mutex (phase),
scopes (data_->scopes),
global_scope (create_global_scope (data_->scopes)),
@@ -851,7 +852,6 @@ namespace build2
//text << this_thread::get_id () << " phase restore " << n << " " << o;
}
- bool keep_going = false;
bool dry_run = false;
void (*config_save_variable) (scope&, const variable&, uint64_t);