aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/traditional_profile.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 18:24:51 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 18:24:51 +0100
commit870ceb9a6b4a72aea7ff8be65a6c6e7ef83a683e (patch)
tree5d69d160adede37f5c596acc00b18aae9b146aab /paludis/repositories/e/traditional_profile.cc
parent84d920042295fe88797af4bc077af31783dabc06 (diff)
downloadpaludis-870ceb9a6b4a72aea7ff8be65a6c6e7ef83a683e.tar.gz
paludis-870ceb9a6b4a72aea7ff8be65a6c6e7ef83a683e.tar.xz
ProfileFile -> TraditionalProfileFile
Diffstat (limited to 'paludis/repositories/e/traditional_profile.cc')
-rw-r--r--paludis/repositories/e/traditional_profile.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/paludis/repositories/e/traditional_profile.cc b/paludis/repositories/e/traditional_profile.cc
index ef501e033..5f02e315f 100644
--- a/paludis/repositories/e/traditional_profile.cc
+++ b/paludis/repositories/e/traditional_profile.cc
@@ -18,7 +18,7 @@
*/
#include <paludis/repositories/e/traditional_profile.hh>
-#include <paludis/repositories/e/profile_file.hh>
+#include <paludis/repositories/e/traditional_profile_file.hh>
#include <paludis/repositories/e/traditional_mask_file.hh>
#include <paludis/repositories/e/e_repository_exceptions.hh>
#include <paludis/repositories/e/e_repository.hh>
@@ -107,9 +107,9 @@ namespace paludis
const IsArchFlagFunction is_arch_flag;
const bool has_master_repositories;
- ProfileFile<LineConfigFile> packages_file;
- ProfileFile<LineConfigFile> virtuals_file;
- ProfileFile<TraditionalMaskFile> package_mask_file;
+ TraditionalProfileFile<LineConfigFile> packages_file;
+ TraditionalProfileFile<LineConfigFile> virtuals_file;
+ TraditionalProfileFile<TraditionalMaskFile> package_mask_file;
std::shared_ptr<FSPathSequence> profiles_with_parents;
@@ -294,7 +294,7 @@ namespace
try
{
if (! _imp->has_master_repositories)
- for (ProfileFile<LineConfigFile>::ConstIterator i(_imp->packages_file.begin()),
+ for (TraditionalProfileFile<LineConfigFile>::ConstIterator i(_imp->packages_file.begin()),
i_end(_imp->packages_file.end()) ; i != i_end ; ++i)
{
if (0 != i->second.compare(0, 1, "*", 0, 1))
@@ -323,7 +323,7 @@ namespace
_imp->env->distribution())).support_old_style_virtuals())
try
{
- for (ProfileFile<LineConfigFile>::ConstIterator line(_imp->virtuals_file.begin()), line_end(_imp->virtuals_file.end()) ;
+ for (TraditionalProfileFile<LineConfigFile>::ConstIterator line(_imp->virtuals_file.begin()), line_end(_imp->virtuals_file.end()) ;
line != line_end ; ++line)
{
std::vector<std::string> tokens;
@@ -348,7 +348,7 @@ namespace
<< "Loading virtuals failed due to exception: " << e.message() << " (" << e.what() << ")";
}
- for (ProfileFile<TraditionalMaskFile>::ConstIterator line(_imp->package_mask_file.begin()), line_end(_imp->package_mask_file.end()) ;
+ for (TraditionalProfileFile<TraditionalMaskFile>::ConstIterator line(_imp->package_mask_file.begin()), line_end(_imp->package_mask_file.end()) ;
line != line_end ; ++line)
{
if (line->second.first.empty())