diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-29 14:02:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-29 14:03:21 +0200 |
commit | d593b19735eec451b091fd46e4cb066e3478d6c9 (patch) | |
tree | bb9f4864745c0d7f71908f185734e01e9176cca0 /libbuild2/parser.cxx | |
parent | bd90dfbbbca15500b826eb9a4bb6959aedbe28f7 (diff) |
Move buildfiles to root_extra, use vector instead of unordered_set
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index b4df45b..29fe23f 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -3050,7 +3050,9 @@ namespace build2 l6 ([&]{trace (l) << "absolute path " << p;}); - if (!root_->buildfiles.insert (p).second) // Note: may be "new" root. + // Note: may be "new" root. + // + if (!root_->root_extra->insert_buildfile (p)) { l5 ([&]{trace (l) << "skipping already included " << p;}); continue; |