From c414abe13450e2b4e204f6368ba83c8916de1ebd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Apr 2018 08:23:06 +0200 Subject: Minor code reuse improvement --- build2/file.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'build2/file.hxx') 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 -- cgit v1.1