aboutsummaryrefslogtreecommitdiff
path: root/build2/file.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-23 08:23:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-24 18:32:07 +0200
commitc414abe13450e2b4e204f6368ba83c8916de1ebd (patch)
tree117cd370af6da7d4aec52d591c54cf9dffa89e86 /build2/file.hxx
parentd5d58307d5cbafde307b3e3173e734a0278f517d (diff)
Minor code reuse improvement
Diffstat (limited to 'build2/file.hxx')
-rw-r--r--build2/file.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/build2/file.hxx b/build2/file.hxx
index f334d8c..a720d50 100644
--- a/build2/file.hxx
+++ b/build2/file.hxx
@@ -141,12 +141,13 @@ namespace build2
void
create_bootstrap_outer (scope& root);
- // Create and bootstrap inner root scopes between root and base,
- // if any. Return the innermost created root scope or root if
- // none were created. Loading is done by load_root_pre() below.
+ // Create and bootstrap inner root scopes between root and base, if any. If
+ // out_base is empty, then bootstrap all the way in. Return the innermost
+ // created root scope or root if none were created. Note: loading is done by
+ // load_root_pre() below.
//
scope&
- create_bootstrap_inner (scope& root, const dir_path& out_base);
+ create_bootstrap_inner (scope& root, const dir_path& out_base = dir_path ());
// Load project's root[-pre].build unless already loaded. Also
// make sure all outer root scopes are loaded prior to loading