aboutsummaryrefslogtreecommitdiff
path: root/build/dump.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/dump.cxx')
-rw-r--r--build/dump.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/dump.cxx b/build/dump.cxx
index 0287d4a..5ba7269 100644
--- a/build/dump.cxx
+++ b/build/dump.cxx
@@ -75,7 +75,7 @@ namespace build
// Nested scopes of which we are a parent.
//
- for (auto e (scopes.end ()); i != e && i->second.parent () == &p; )
+ for (auto e (scopes.end ()); i != e && i->second.parent_scope () == &p; )
{
if (vb)
{
@@ -98,7 +98,7 @@ namespace build
for (const auto& pt: targets)
{
const target& t (*pt);
- const scope* ts (&scopes.find (t.dir));
+ const scope* ts (&t.base_scope ());
bool f (false);