aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_package_dep_spec.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-06 16:14:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-07 11:32:56 +0000
commit2e2d62366cada8947f15bb3c29a9704f212de9c0 (patch)
treef497857724eb2bcde4f1afb4aecd829f7fda3951 /paludis/elike_package_dep_spec.cc
parent42e739456d8e348c9a14fb8ea1f1d2c889dab8af (diff)
downloadpaludis-2e2d62366cada8947f15bb3c29a9704f212de9c0.tar.gz
paludis-2e2d62366cada8947f15bb3c29a9704f212de9c0.tar.xz
Don't need ID any more
Diffstat (limited to 'paludis/elike_package_dep_spec.cc')
-rw-r--r--paludis/elike_package_dep_spec.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/paludis/elike_package_dep_spec.cc b/paludis/elike_package_dep_spec.cc
index 572f2d8..4dc1ac1 100644
--- a/paludis/elike_package_dep_spec.cc
+++ b/paludis/elike_package_dep_spec.cc
@@ -90,7 +90,7 @@ paludis::elike_remove_trailing_square_bracket_if_exists(std::string & s, Partial
const ELikePackageDepSpecOptions & options,
const VersionSpecOptions & version_options,
bool & had_bracket_version_requirements,
- bool & had_use_requirements, const std::shared_ptr<const PackageID> & id)
+ bool & had_use_requirements)
{
std::string::size_type use_group_p;
if (std::string::npos == ((use_group_p = s.rfind('['))))
@@ -470,8 +470,7 @@ namespace
PartiallyMadePackageDepSpec
paludis::partial_parse_elike_package_dep_spec(
const std::string & ss, const ELikePackageDepSpecOptions & options,
- const VersionSpecOptions & version_options,
- const std::shared_ptr<const PackageID> & id)
+ const VersionSpecOptions & version_options)
{
using namespace std::placeholders;
@@ -495,15 +494,14 @@ paludis::partial_parse_elike_package_dep_spec(
n::remove_trailing_repo_if_exists() = std::bind(&elike_remove_trailing_repo_if_exists, _1, _2, options),
n::remove_trailing_slot_if_exists() = std::bind(&elike_remove_trailing_slot_if_exists, _1, _2, options),
n::remove_trailing_square_bracket_if_exists() = std::bind(&elike_remove_trailing_square_bracket_if_exists,
- _1, _2, options, version_options, std::ref(had_bracket_version_requirements), std::ref(had_use_requirements), id)
+ _1, _2, options, version_options, std::ref(had_bracket_version_requirements), std::ref(had_use_requirements))
));
}
PackageDepSpec
paludis::parse_elike_package_dep_spec(const std::string & ss, const ELikePackageDepSpecOptions & options,
- const VersionSpecOptions & version_options,
- const std::shared_ptr<const PackageID> & id)
+ const VersionSpecOptions & version_options)
{
- return partial_parse_elike_package_dep_spec(ss, options, version_options, id);
+ return partial_parse_elike_package_dep_spec(ss, options, version_options);
}