aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/sanitised_dependencies.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-13 11:24:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-13 11:24:45 +0100
commite7e7b6edd8ccb6f314cef1f6d7abf8352616b38e (patch)
tree33f3ab4fc93139e364e08178a5503022169476a9 /paludis/resolver/sanitised_dependencies.cc
parente37860d45510f9fc35649e9c00ced04900457f14 (diff)
downloadpaludis-e7e7b6edd8ccb6f314cef1f6d7abf8352616b38e.tar.gz
paludis-e7e7b6edd8ccb6f314cef1f6d7abf8352616b38e.tar.xz
Rename spec tree root to top
Diffstat (limited to 'paludis/resolver/sanitised_dependencies.cc')
-rw-r--r--paludis/resolver/sanitised_dependencies.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index d88b1bd..877b969 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -147,7 +147,7 @@ namespace
const std::shared_ptr<const RewrittenSpec> if_rewritten(decider.rewrite_if_special(spec,
make_shared_copy(our_resolution->resolvent())));
if (if_rewritten)
- if_rewritten->as_spec_tree()->root()->accept(*this);
+ if_rewritten->as_spec_tree()->top()->accept(*this);
else
{
if (active_sublist)
@@ -345,7 +345,7 @@ namespace
const std::shared_ptr<const RewrittenSpec> if_rewritten(decider.rewrite_if_special(dep.spec(),
make_shared_copy(our_resolution->resolvent())));
if (if_rewritten)
- if_rewritten->as_spec_tree()->root()->accept(*this);
+ if_rewritten->as_spec_tree()->top()->accept(*this);
else
sanitised_dependencies.add(dep);
}
@@ -418,7 +418,7 @@ namespace
{
const std::shared_ptr<const SetSpecTree> set(env->set(node.spec()->name()));
if (set)
- set->root()->accept(*this);
+ set->top()->accept(*this);
else
throw NoSuchSetError(stringify(node.spec()->name()));
}
@@ -470,7 +470,7 @@ SanitisedDependencies::_populate_one(
Finder f(env, decider, resolution, id, changed, *this, ((*id).*pmf)()->initial_labels(), ((*id).*pmf)()->raw_name(),
((*id).*pmf)()->human_name(), "");
- ((*id).*pmf)()->value()->root()->accept(f);
+ ((*id).*pmf)()->value()->top()->accept(f);
}
void