aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-26 10:53:08 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-26 10:53:08 +0000
commit238c11a3272f26b61204681aa1cfb5cb404e1389 (patch)
tree11d8bfb6986e49a8f15e5e5daaaf297e5fb95913
parentd4be8eee397a36b3b06d23e3d0b5c2d5e883417e (diff)
downloadpaludis-238c11a3272f26b61204681aa1cfb5cb404e1389.tar.gz
paludis-238c11a3272f26b61204681aa1cfb5cb404e1389.tar.xz
Fix drop self circular check
-rw-r--r--paludis/dep_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/dep_list.cc b/paludis/dep_list.cc
index 08d678f..022fafd 100644
--- a/paludis/dep_list.cc
+++ b/paludis/dep_list.cc
@@ -276,7 +276,7 @@ DepList::visit(const PackageDepAtom * const p)
{
if (_implementation->drop_circular)
return;
- else if (_implementation->merge_list.begin() == i && _implementation->drop_self_circular)
+ else if (_implementation->merge_list_insert_pos == i && _implementation->drop_self_circular)
return;
else
throw CircularDependencyError(_implementation->merge_list_insert_pos, next(i));