diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-13 09:00:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-13 09:00:11 +0200 |
commit | 219e00f3b8caec38a9c8fbb4d70e33455aba5a92 (patch) | |
tree | af77a460d37589b6ca535cdd8d0100440d9f45a1 /libbuild2/file.cxx | |
parent | 7935281661a3fd50454432fae1bbf4152758137a (diff) |
Optimize by going straight to public variable pool where applicable
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index cb57f70..6cd4402 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -2138,7 +2138,9 @@ namespace build2 // over anything that we may discover. In particular, we will prefer it // over any bundled subprojects. // - auto& vp (iroot.var_pool ()); + // Note: go straight for the public variable pool. + // + auto& vp (iroot.var_pool (true /* public */)); using config::lookup_config; |