diff options
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 3ded45e..b93a20a 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -307,7 +307,7 @@ namespace build2 { tracer trace ("source_once"); - if (!once.buildfiles.insert (bf).second) + if (!once.root_extra->insert_buildfile (bf)) { l5 ([&]{trace << "skipping already sourced " << bf;}); return false; @@ -954,7 +954,7 @@ namespace build2 // process hard to reason about. But we may try to bootstrap the same // root scope multiple time. // - else if (rs.buildfiles.insert (bf).second) + else if (rs.root_extra->insert_buildfile (bf)) { // Extract the project name and amalgamation variable value so that // we can make them available while loading bootstrap.build. |