aboutsummaryrefslogtreecommitdiff
path: root/paludis/version_operator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/version_operator.cc')
-rw-r--r--paludis/version_operator.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/paludis/version_operator.cc b/paludis/version_operator.cc
index 7ffa4a8..35260df 100644
--- a/paludis/version_operator.cc
+++ b/paludis/version_operator.cc
@@ -99,7 +99,8 @@ paludis::operator<< (std::ostream & s, const VersionOperator & v)
s << "<=";
continue;
- case vo_equal_star:
+ case vo_nice_equal_star:
+ case vo_stupid_equal_star:
s << "=*";
continue;
@@ -145,8 +146,10 @@ VersionOperator::as_version_spec_comparator() const
return &relational_operators::operator> <const VersionSpec>;
case vo_greater_equal:
return &relational_operators::operator>= <const VersionSpec>;
- case vo_equal_star:
- return &member_to_comparator<&VersionSpec::equal_star_compare>;
+ case vo_nice_equal_star:
+ return &member_to_comparator<&VersionSpec::nice_equal_star_compare>;
+ case vo_stupid_equal_star:
+ return &member_to_comparator<&VersionSpec::stupid_equal_star_compare>;
case vo_tilde_greater:
return &member_to_comparator<&VersionSpec::tilde_greater_compare>;
case last_vo: