aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exheres_profile.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 23:14:16 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 23:14:16 +0000
commit2c4c9b36faef13dd4ba408c80ca16461daee14bd (patch)
tree6456e55735ed7bb068428d76f6613c46dfc3487b /paludis/repositories/e/exheres_profile.cc
parent9338f116a900bb17271b947a528ba4c2e67cadde (diff)
downloadpaludis-2c4c9b36faef13dd4ba408c80ca16461daee14bd.tar.gz
paludis-2c4c9b36faef13dd4ba408c80ca16461daee14bd.tar.xz
Remove RepositoryMaskInfo
Diffstat (limited to 'paludis/repositories/e/exheres_profile.cc')
-rw-r--r--paludis/repositories/e/exheres_profile.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/e/exheres_profile.cc b/paludis/repositories/e/exheres_profile.cc
index 07154df..9ec0d77 100644
--- a/paludis/repositories/e/exheres_profile.cc
+++ b/paludis/repositories/e/exheres_profile.cc
@@ -63,7 +63,7 @@ namespace
typedef std::unordered_map<std::string, std::string, Hash<std::string> > EnvironmentVariablesMap;
typedef std::unordered_map<QualifiedPackageName,
- std::list<std::pair<std::shared_ptr<const PackageDepSpec>, std::shared_ptr<const RepositoryMaskInfo> > >,
+ std::list<std::pair<std::shared_ptr<const PackageDepSpec>, std::shared_ptr<const MaskInfo> > >,
Hash<QualifiedPackageName> > PackageMaskMap;
}
@@ -351,21 +351,21 @@ ExheresProfile::environment_variable(const std::string & s) const
return i->second;
}
-const std::shared_ptr<const RepositoryMaskInfo>
+const std::shared_ptr<const MaskInfo>
ExheresProfile::profile_masked(const std::shared_ptr<const PackageID> & id) const
{
PackageMaskMap::const_iterator rr(_imp->package_mask.find(id->name()));
if (_imp->package_mask.end() == rr)
- return std::shared_ptr<const RepositoryMaskInfo>();
+ return std::shared_ptr<const MaskInfo>();
else
{
- for (std::list<std::pair<std::shared_ptr<const PackageDepSpec>, std::shared_ptr<const RepositoryMaskInfo> > >::const_iterator k(rr->second.begin()),
+ for (std::list<std::pair<std::shared_ptr<const PackageDepSpec>, std::shared_ptr<const MaskInfo> > >::const_iterator k(rr->second.begin()),
k_end(rr->second.end()) ; k != k_end ; ++k)
if (match_package(*_imp->env, *k->first, id, make_null_shared_ptr(), { }))
return k->second;
}
- return std::shared_ptr<const RepositoryMaskInfo>();
+ return std::shared_ptr<const MaskInfo>();
}
const std::shared_ptr<const SetSpecTree>