aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/resolve_common.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-02 15:14:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit1a8319191a0c4a585fab173199a2c898c76f30c3 (patch)
tree39ae0ee349e25f0b420fbd72cc43bd4ba3007d8d /src/clients/cave/resolve_common.cc
parentf243a4014b98275a3ebb7872faadab5ba1fcafa8 (diff)
downloadpaludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.gz
paludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.xz
Version requirements to constraints
Diffstat (limited to 'src/clients/cave/resolve_common.cc')
-rw-r--r--src/clients/cave/resolve_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index cfb68dc1e..cad509ba4 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -1118,7 +1118,7 @@ paludis::cave::resolve_common(
if ('!' != t->at(0) && std::string::npos != t->find('/'))
{
PackageDepSpec ts(parse_spec_with_nice_error(*t, env.get(), { }, filter::All()));
- if (ts.version_requirements_ptr() && ! ts.version_requirements_ptr()->empty())
+ if (ts.all_version_constraints() && ! ts.all_version_constraints()->empty())
{
confirm_helper.add_permit_downgrade_spec(ts);
confirm_helper.add_permit_old_version_spec(ts);