aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/user_dep_spec.cc')
-rw-r--r--paludis/user_dep_spec.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/paludis/user_dep_spec.cc b/paludis/user_dep_spec.cc
index f18bfcb6f..f2590cd8a 100644
--- a/paludis/user_dep_spec.cc
+++ b/paludis/user_dep_spec.cc
@@ -273,13 +273,9 @@ namespace
if ('?' == req.at(req.length() - 1))
{
if (req.length() >= 3 && '?' == req.at(req.length() - 2))
- reqs.installable_to_repository(make_named_values<InstallableToRepository>(
- n::include_masked() = true,
- n::repository() = RepositoryName(req.substr(0, req.length() - 2))));
+ reqs.installable_to_repository(RepositoryName(req.substr(0, req.length() - 2)), true);
else
- reqs.installable_to_repository(make_named_values<InstallableToRepository>(
- n::include_masked() = false,
- n::repository() = RepositoryName(req.substr(0, req.length() - 1))));
+ reqs.installable_to_repository(RepositoryName(req.substr(0, req.length() - 1)), false);
}
else
reqs.in_repository(RepositoryName(req));