aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/installed_virtuals_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-06 19:13:49 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-06 19:13:49 +0000
commitaf59deeafa26271274a80a4f7ea9bed48beb28e1 (patch)
tree7c4cbda238e5ea6136c042f582f57f6815d05d7c /paludis/repositories/virtuals/installed_virtuals_repository.cc
parent26e9d4a80c83fa61580e54b9251713e733242365 (diff)
downloadpaludis-af59deeafa26271274a80a4f7ea9bed48beb28e1.tar.gz
paludis-af59deeafa26271274a80a4f7ea9bed48beb28e1.tar.xz
kill more sr
Diffstat (limited to 'paludis/repositories/virtuals/installed_virtuals_repository.cc')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 304e2d693..f20ff5cfb 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -173,7 +173,7 @@ InstalledVirtualsRepository::need_ids() const
std::tr1::shared_ptr<const PackageIDSequence>
InstalledVirtualsRepository::package_ids(const QualifiedPackageName & q) const
{
- if (q.category.data() != "virtual")
+ if (q.category().data() != "virtual")
return std::tr1::shared_ptr<PackageIDSequence>(new PackageIDSequence);
need_ids();
@@ -211,7 +211,7 @@ InstalledVirtualsRepository::category_names() const
bool
InstalledVirtualsRepository::has_package_named(const QualifiedPackageName & q) const
{
- if (q.category.data() != "virtual")
+ if (q.category().data() != "virtual")
return false;
need_ids();