aboutsummaryrefslogtreecommitdiff
path: root/ruby/find_unused_packages_task.cc
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-07-01 00:08:46 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-07-01 00:08:46 +0000
commitad8ae99b7c6e089a59b7bdbcb9458effd506ee8b (patch)
treead057796e0131dbcfe7f9a756db93928b6e5e64a /ruby/find_unused_packages_task.cc
parent0bda72d513de1c3a9d36e0bd4b38d61569ebcbb4 (diff)
downloadpaludis-ad8ae99b7c6e089a59b7bdbcb9458effd506ee8b.tar.gz
paludis-ad8ae99b7c6e089a59b7bdbcb9458effd506ee8b.tar.xz
(ruby) Lots of PackageID work.
Diffstat (limited to 'ruby/find_unused_packages_task.cc')
-rw-r--r--ruby/find_unused_packages_task.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby/find_unused_packages_task.cc b/ruby/find_unused_packages_task.cc
index b7a1e08a8..41098caab 100644
--- a/ruby/find_unused_packages_task.cc
+++ b/ruby/find_unused_packages_task.cc
@@ -70,10 +70,10 @@ namespace
{
FindUnusedPackagesTask * ptr;
Data_Get_Struct(self, FindUnusedPackagesTask, ptr);
- tr1::shared_ptr<const PackageDatabaseEntryCollection> c(ptr->execute(value_to_qualified_package_name(qpn)));
+ tr1::shared_ptr<const PackageIDSequence> c(ptr->execute(value_to_qualified_package_name(qpn)));
VALUE result(rb_ary_new());
- for (PackageDatabaseEntryCollection::Iterator i(c->begin()), i_end(c->end()) ; i != i_end ; ++i)
- rb_ary_push(result, package_database_entry_to_value(*i));
+ for (PackageIDSequence::Iterator i(c->begin()), i_end(c->end()) ; i != i_end ; ++i)
+ rb_ary_push(result, package_id_to_value(*i));
return result;
}
catch (const std::exception & e)