aboutsummaryrefslogtreecommitdiff
path: root/ruby/find_unused_packages_task.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-20 16:22:51 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-20 16:22:51 +0000
commit4762032193e34e16b70ad04a029257ae61faee1f (patch)
treef4c079355526d80fc311682c639ce74140ba6b73 /ruby/find_unused_packages_task.cc
parent7c70a0fc4a77810859f26adaf35969f00dbdd60c (diff)
downloadpaludis-4762032193e34e16b70ad04a029257ae61faee1f.tar.gz
paludis-4762032193e34e16b70ad04a029257ae61faee1f.tar.xz
Change how we access tr1 to make things easier for third party clients. Fixes: ticket:238
Diffstat (limited to 'ruby/find_unused_packages_task.cc')
-rw-r--r--ruby/find_unused_packages_task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/find_unused_packages_task.cc b/ruby/find_unused_packages_task.cc
index a577882fc..4cf3f58b9 100644
--- a/ruby/find_unused_packages_task.cc
+++ b/ruby/find_unused_packages_task.cc
@@ -68,7 +68,7 @@ namespace
{
FindUnusedPackagesTask * ptr;
Data_Get_Struct(self, FindUnusedPackagesTask, ptr);
- std::tr1::shared_ptr<const PackageDatabaseEntryCollection> c(ptr->execute(value_to_qualified_package_name(qpn)));
+ tr1::shared_ptr<const PackageDatabaseEntryCollection> 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));