aboutsummaryrefslogtreecommitdiff
path: root/src/clients/qualudis/qualudis.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 /src/clients/qualudis/qualudis.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 'src/clients/qualudis/qualudis.cc')
-rw-r--r--src/clients/qualudis/qualudis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 03115a0..e333cd5 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -203,7 +203,7 @@ namespace
if (! msg.associated_ids->empty())
{
- for (PackageIDSet::Iterator i(msg.associated_ids->begin()),
+ for (PackageIDSet::ConstIterator i(msg.associated_ids->begin()),
i_end(msg.associated_ids->end()) ; i != i_end ; ++i)
if (! (*i)->fs_location_key() || (*i)->fs_location_key()->value() != msg.entry)
std::cout << " " << stringify(**i) << std::endl;
@@ -211,7 +211,7 @@ namespace
if (! msg.associated_keys->empty())
{
- for (QAMessage::KeysSequence::Iterator i(msg.associated_keys->begin()),
+ for (QAMessage::KeysSequence::ConstIterator i(msg.associated_keys->begin()),
i_end(msg.associated_keys->end()) ; i != i_end ; ++i)
{
MetadataKeyPrettyPrinter pp;