aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/manifest2_reader.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/repositories/e/manifest2_reader.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/repositories/e/manifest2_reader.cc')
-rw-r--r--paludis/repositories/e/manifest2_reader.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/paludis/repositories/e/manifest2_reader.cc b/paludis/repositories/e/manifest2_reader.cc
index 7dc1d52f4..7d81e1619 100644
--- a/paludis/repositories/e/manifest2_reader.cc
+++ b/paludis/repositories/e/manifest2_reader.cc
@@ -71,7 +71,7 @@ Manifest2Reader::Manifest2Reader(const FSEntry & f) :
LineConfigFile lines(_imp->manifest, LineConfigFileOptions());
- for (LineConfigFile::Iterator l(lines.begin()), l_end(lines.end()) ;
+ for (LineConfigFile::ConstIterator l(lines.begin()), l_end(lines.end()) ;
l != l_end ; ++l)
{
std::list<std::string> tokens;
@@ -125,7 +125,7 @@ Manifest2Reader::Manifest2Reader(const FSEntry & f) :
Log::get_instance()->message(ll_debug, lc_no_context)
<< "Skipping unknown checksum type " << checksum_type;
}
-
+
_imp->entries.push_back(Manifest2Entry::create()
.type(type)
.size(size)
@@ -142,14 +142,14 @@ Manifest2Reader::~Manifest2Reader()
{
}
-Manifest2Reader::Iterator
+Manifest2Reader::ConstIterator
Manifest2Reader::begin() const
{
- return Iterator(_imp->entries.begin());
+ return ConstIterator(_imp->entries.begin());
}
-Manifest2Reader::Iterator
+Manifest2Reader::ConstIterator
Manifest2Reader::end() const
{
- return Iterator(_imp->entries.end());
+ return ConstIterator(_imp->entries.end());
}