aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/sanitised_dependencies.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/sanitised_dependencies.cc')
-rw-r--r--paludis/resolver/sanitised_dependencies.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index 8439536d0..ac0921fd9 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -169,7 +169,7 @@ namespace
void visit_package_spec(const PackageDepSpec & spec)
{
- if (spec.package_ptr())
+ if (spec.package_name_constraint())
visit_package_or_block_spec(PackageOrBlockDepSpec(spec));
else
super_complicated = true;
@@ -177,7 +177,7 @@ namespace
void visit_block_spec(const BlockDepSpec & spec)
{
- if (spec.blocking().package_ptr())
+ if (spec.blocking().package_name_constraint())
visit_package_or_block_spec(PackageOrBlockDepSpec(spec));
else
super_complicated = true;