From 1b8c19b427f7e0ec6a747df60eb9334a620843b7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Apr 2022 09:42:35 +0200 Subject: Add explicit flag to more efficiently avoid repeated load_root() calls --- libbuild2/scope.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/scope.hxx') 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 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. // -- cgit v1.1