aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_dep_spec_properties.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/package_dep_spec_properties.cc')
-rw-r--r--paludis/package_dep_spec_properties.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/package_dep_spec_properties.cc b/paludis/package_dep_spec_properties.cc
index f4f4af1ad..0c003631e 100644
--- a/paludis/package_dep_spec_properties.cc
+++ b/paludis/package_dep_spec_properties.cc
@@ -53,7 +53,7 @@ paludis::package_dep_spec_has_properties(const PackageDepSpec & spec, const Pack
result = result && check(bool(spec.package_name_part_constraint()), properties.has_package_name_part());
result = result && check(bool(spec.exact_slot_constraint()), properties.has_exact_slot_requirement());
result = result && check(bool(spec.any_slot_constraint()), properties.has_any_slot_requirement());
- result = result && check(spec.version_requirements_ptr() && ! spec.version_requirements_ptr()->empty(), properties.has_version_requirements());
+ result = result && check(bool(spec.all_version_constraints()) && ! spec.all_version_constraints()->empty(), properties.has_version_requirements());
return result;
}