aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-12 01:53:36 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-12 01:53:36 +0000
commit57a609d0107ebf3c7427c3d5e7a9b0826b23264d (patch)
tree650f24c22d00b25fcdc8cd173a5c3b3abd277587
parentde1fde1d9024296a71f67e39de64d31c7f935721 (diff)
downloadpaludis-57a609d0107ebf3c7427c3d5e7a9b0826b23264d.tar.gz
paludis-57a609d0107ebf3c7427c3d5e7a9b0826b23264d.tar.xz
Comment out the debug dep_list restore checks, since restore seems to work.
-rw-r--r--paludis/dep_list.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/dep_list.cc b/paludis/dep_list.cc
index b1eae23..7bdb4d1 100644
--- a/paludis/dep_list.cc
+++ b/paludis/dep_list.cc
@@ -205,9 +205,11 @@ DepList::add(DepAtom::ConstPointer atom)
void
DepList::_add_raw(const DepAtom * const atom)
{
+#if 0
/// \bug VV this is debug code. remove it once we're sure this works
std::list<DepListEntry> backup_merge_list(_implementation->merge_list.begin(),
_implementation->merge_list.end());
+#endif
/* keep track of stack depth */
Save<int> old_stack_depth(&_implementation->stack_depth,
@@ -252,6 +254,7 @@ DepList::_add_raw(const DepAtom * const atom)
save_irange_end);
}
+#if 0
/// \bug VV this is debug code. remove it once we're sure this works
if (backup_merge_list != _implementation->merge_list)
{
@@ -261,6 +264,7 @@ DepList::_add_raw(const DepAtom * const atom)
_implementation->merge_list.end(), " -> "));
throw InternalError(PALUDIS_HERE, "merge list restore failed");
}
+#endif
throw;
}
}