aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/package_mask_conf.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-25 14:12:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-25 14:12:53 +0000
commit8aca0f10d1934e4d0170df3eea4c6ab1428a7027 (patch)
tree7de5bf5b57ac07ef107e1e86f365334b8839707b /paludis/environments/paludis/package_mask_conf.cc
parentfa16225ca76ef2bf07174aee6460264c63f2b104 (diff)
downloadpaludis-8aca0f10d1934e4d0170df3eea4c6ab1428a7027.tar.gz
paludis-8aca0f10d1934e4d0170df3eea4c6ab1428a7027.tar.xz
Rename const iterators to ConstIterator, mutable to Iterator. Fixes: ticket:365
Diffstat (limited to 'paludis/environments/paludis/package_mask_conf.cc')
-rw-r--r--paludis/environments/paludis/package_mask_conf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/package_mask_conf.cc b/paludis/environments/paludis/package_mask_conf.cc
index 1f3bd4ccc..f087433f0 100644
--- a/paludis/environments/paludis/package_mask_conf.cc
+++ b/paludis/environments/paludis/package_mask_conf.cc
@@ -71,7 +71,7 @@ PackageMaskConf::add(const FSEntry & filename)
if (! f)
return;
- for (LineConfigFile::Iterator line(f->begin()), line_end(f->end()) ;
+ for (LineConfigFile::ConstIterator line(f->begin()), line_end(f->end()) ;
line != line_end ; ++line)
_imp->masks.push_back(tr1::shared_ptr<PackageDepSpec>(new PackageDepSpec(*line, pds_pm_unspecific)));
}