aboutsummaryrefslogtreecommitdiff
path: root/build/dump.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-07 10:47:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-07 10:47:28 +0200
commit088a60c512aff26eeb026c516d0afe724880cb2b (patch)
tree3fbd798bd6a385875c8db3b2677a94d3abeb23eb /build/dump.cxx
parent137df0bea6cebabe5278e67e5dad6f3047c762fb (diff)
Provide more convenient access to root scope
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);