aboutsummaryrefslogtreecommitdiff
path: root/ruby/paludis_ruby.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/paludis_ruby.cc')
-rw-r--r--ruby/paludis_ruby.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/paludis_ruby.cc b/ruby/paludis_ruby.cc
index 2bed22d63..95d68140b 100644
--- a/ruby/paludis_ruby.cc
+++ b/ruby/paludis_ruby.cc
@@ -92,7 +92,7 @@ namespace
std::shared_ptr<const PackageDepSpec> spec = value_to_package_dep_spec(a);
std::shared_ptr<const PackageID> target = value_to_package_id(t);
MatchPackageOptions options(value_to_match_package_options(o));
- return match_package(*env, *spec, *target, options) ? Qtrue : Qfalse;
+ return match_package(*env, *spec, target, options) ? Qtrue : Qfalse;
}
catch (const std::exception & e)
{
@@ -118,7 +118,7 @@ namespace
std::shared_ptr<const SetSpecTree> spec = value_to_dep_tree<SetSpecTree>(a);
std::shared_ptr<const PackageID> target = value_to_package_id(t);
MatchPackageOptions options(value_to_match_package_options(o));
- return match_package_in_set(*env, *spec, *target, options) ? Qtrue : Qfalse;
+ return match_package_in_set(*env, *spec, target, options) ? Qtrue : Qfalse;
}
catch (const std::exception & e)
{