aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-26 16:50:18 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-26 16:50:18 +0000
commitec291b1880d1128aa266cc6c8df1d61ca77babad (patch)
tree17e0c777db94f92d0f19e4c911f199a2397ac21b
parentdaccfe374822d175e2bd866b02a57532073b0c14 (diff)
downloadpaludis-ec291b1880d1128aa266cc6c8df1d61ca77babad.tar.gz
paludis-ec291b1880d1128aa266cc6c8df1d61ca77babad.tar.xz
Fix broken CircualrDependencyError call that lead to segfaults when the iterators were backwards.
-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 42951d5..9ec9c85 100644
--- a/paludis/dep_list.cc
+++ b/paludis/dep_list.cc
@@ -292,7 +292,7 @@ DepList::visit(const PackageDepAtom * const p)
else if (_implementation->merge_list_insert_pos == i && _implementation->drop_self_circular)
return;
else
- throw CircularDependencyError(_implementation->merge_list_insert_pos, next(i));
+ throw CircularDependencyError(i, next(i));
}
return;