aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-06 15:53:40 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-07 11:32:56 +0000
commit42e739456d8e348c9a14fb8ea1f1d2c889dab8af (patch)
tree8f3a94745ea5aad56929a29d18a944e3258f1347 /paludis/user_dep_spec.cc
parent4d9e95cfc626a2f98262a267050250f30dc6b3bd (diff)
downloadpaludis-42e739456d8e348c9a14fb8ea1f1d2c889dab8af.tar.gz
paludis-42e739456d8e348c9a14fb8ea1f1d2c889dab8af.tar.xz
Use passed ID
Diffstat (limited to 'paludis/user_dep_spec.cc')
-rw-r--r--paludis/user_dep_spec.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/user_dep_spec.cc b/paludis/user_dep_spec.cc
index 973a5b78b..8dbb402f2 100644
--- a/paludis/user_dep_spec.cc
+++ b/paludis/user_dep_spec.cc
@@ -197,8 +197,7 @@ namespace
default:
{
- std::shared_ptr<const AdditionalPackageDepSpecRequirement> req(parse_elike_use_requirement(flag,
- std::shared_ptr<const PackageID>(), { }));
+ std::shared_ptr<const AdditionalPackageDepSpecRequirement> req(parse_elike_use_requirement(flag, { }));
result.additional_requirement(req);
}
break;