aboutsummaryrefslogtreecommitdiff
path: root/src/clients/adjutrix
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 /src/clients/adjutrix
parente37860d45510f9fc35649e9c00ced04900457f14 (diff)
downloadpaludis-e7e7b6edd8ccb6f314cef1f6d7abf8352616b38e.tar.gz
paludis-e7e7b6edd8ccb6f314cef1f6d7abf8352616b38e.tar.xz
Rename spec tree root to top
Diffstat (limited to 'src/clients/adjutrix')
-rw-r--r--src/clients/adjutrix/find_insecure_packages.cc4
-rw-r--r--src/clients/adjutrix/find_reverse_deps.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/clients/adjutrix/find_insecure_packages.cc b/src/clients/adjutrix/find_insecure_packages.cc
index 6f6d580d1..377e2318e 100644
--- a/src/clients/adjutrix/find_insecure_packages.cc
+++ b/src/clients/adjutrix/find_insecure_packages.cc
@@ -115,7 +115,7 @@ namespace
return;
}
- set->root()->accept(*this);
+ set->top()->accept(*this);
recursing_sets.erase(node.spec()->name());
}
@@ -174,7 +174,7 @@ void do_find_insecure_packages(const NoConfigEnvironment & env)
write_repository_header(r->name());
ListInsecureVisitor v(env);
- all_insecure->root()->accept(v);
+ all_insecure->top()->accept(v);
cout << v << endl;
}
}
diff --git a/src/clients/adjutrix/find_reverse_deps.cc b/src/clients/adjutrix/find_reverse_deps.cc
index e2c2ac946..66c45d1ef 100644
--- a/src/clients/adjutrix/find_reverse_deps.cc
+++ b/src/clients/adjutrix/find_reverse_deps.cc
@@ -85,7 +85,7 @@ namespace
void check(const std::shared_ptr<const DependencySpecTree> & tree, const std::string & depname)
{
_depname = depname;
- tree->root()->accept(*this);
+ tree->top()->accept(*this);
}
bool found_matches()
@@ -126,7 +126,7 @@ namespace
return;
}
- set->root()->accept(*this);
+ set->top()->accept(*this);
_recursing_sets.erase(node.spec()->name());
}