aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-05 21:34:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-05 21:34:43 +0000
commit6feebcd2bc5c371eed33f49bf4322273d337242f (patch)
tree2d3db58af3fe72b306a8c571e449b5df991a46d4
parent734b6f3d7d99f29322b9eb87e54d898febfbca33 (diff)
downloadpaludis-6feebcd2bc5c371eed33f49bf4322273d337242f.tar.gz
paludis-6feebcd2bc5c371eed33f49bf4322273d337242f.tar.xz
Fix roles
-rw-r--r--src/find_self_circular_dependencies.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/find_self_circular_dependencies.cc b/src/find_self_circular_dependencies.cc
index e60d246..17c0687 100644
--- a/src/find_self_circular_dependencies.cc
+++ b/src/find_self_circular_dependencies.cc
@@ -118,13 +118,13 @@ check_one(const std::string & a)
SelfCircularDepFinder checker(env, entry->get<pde_name>());
VersionMetadata::ConstPointer metadata(env->package_database()->fetch_metadata(*entry));
- checker->role = "DEPEND";
+ checker.role = "DEPEND";
DepParser::parse(metadata->get(vmk_depend))->accept(&checker);
- checker->role = "RDEPEND";
+ checker.role = "RDEPEND";
DepParser::parse(metadata->get(vmk_rdepend))->accept(&checker);
- checker->role = "PDEPEND";
+ checker.role = "PDEPEND";
DepParser::parse(metadata->get(vmk_pdepend))->accept(&checker);
cout << (checker.status ? "BAD" : "OK") << endl;