diff options
author | Daniel Burrows <dburrows@debian.org> | 2009-03-08 09:16:31 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2009-03-08 09:16:31 -0700 |
commit | c1285a3a35c4cfd9eaef5b2e78015d6867682b26 (patch) | |
tree | a9f368c5e0edb4a7e0e3f8e3bc1c23ffd1252101 /tests/test_promotion_set.cc | |
parent | cd59a4213f8aa3ce0e80a642065358dfaa44ca71 (diff) | |
download | aptitude-c1285a3a35c4cfd9eaef5b2e78015d6867682b26.tar.gz |
Make install_version() choices carry the dependency that led to the install.
Choices are now exactly the same as actions, except that they're
a bit more self-contained, explicitly separate from the solution, and
have a type tag. So I'm going in circles a little more than I'd like.
Still, I think this will clean up the code a little and will
particularly make it easier to introduce a new choice type.
Diffstat (limited to 'tests/test_promotion_set.cc')
-rw-r--r-- | tests/test_promotion_set.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_promotion_set.cc b/tests/test_promotion_set.cc index e5ff0310..2d7b695f 100644 --- a/tests/test_promotion_set.cc +++ b/tests/test_promotion_set.cc @@ -215,7 +215,7 @@ class Promotion_SetTest : public CppUnit::TestFixture // routines that use a dummy value. static choice make_install_version(const version &v) { - return choice::make_install_version(v, -1); + return choice::make_install_version(v, dep(), -1); } static choice make_install_version_from_dep_source(const version &v, const dep &d) |