aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-13 13:53:06 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-13 13:53:06 +0100
commitd4ae54b97e6fc3218443b389618ee1c71674c097 (patch)
tree9ad5879ac7cb7ffa0511cd0e1a804006b0c5e50f /paludis/repositories/virtuals
parent7db9b623aa303e9c16bb113444e9fcceb0e0cddf (diff)
downloadpaludis-d4ae54b97e6fc3218443b389618ee1c71674c097.tar.gz
paludis-d4ae54b97e6fc3218443b389618ee1c71674c097.tar.xz
env->root() -> env->preferred_root_key()
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/package_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index 093d8b085..0b6900f76 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -134,7 +134,7 @@ VirtualsDepKey::pretty_print(const DependencySpecTree::ItemFormatter & f) const
if (_imp->env)
{
if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->spec, { }) |
- filter::InstalledAtRoot(_imp->env->root()))]->empty())
+ filter::InstalledAtRoot(_imp->env->preferred_root_key()->value()))]->empty())
return f.format(*_imp->spec, format::Installed());
else if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->spec, { }) |
filter::SupportsAction<InstallAction>() | filter::NotMasked())]->empty())