diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-20 09:42:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-20 09:42:35 +0200 |
commit | 1b8c19b427f7e0ec6a747df60eb9334a620843b7 (patch) | |
tree | 121b7211560bb42c6355b7fd2610f8d25c897796 /libbuild2/scope.hxx | |
parent | dca10cb2cc9ae928edf945274b5860d5bbc9dea3 (diff) |
Add explicit flag to more efficiently avoid repeated load_root() calls
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r-- | libbuild2/scope.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx index f21fe01..948fc7d 100644 --- a/libbuild2/scope.hxx +++ b/libbuild2/scope.hxx @@ -488,7 +488,8 @@ namespace build2 // optional<const build2::subprojects*> subprojects; - bool altn; // True if using alternative build file/directory naming. + bool altn; // True if using alternative build file/directory naming. + bool loaded; // True if already loaded (load_root()). // Build file/directory naming scheme used by this project. // |