aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_match_package.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-27 21:56:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-27 22:11:44 +0000
commit2adc701cea7587b027bffd94ac6fb069e7722342 (patch)
tree21405ab5f3166d8859499dcfbaa51ff2b8551d31 /doc/api/cplusplus/examples/example_match_package.cc
parent7d30933809a78bc6d7e07a517c7612d3ae20fccb (diff)
downloadpaludis-2adc701cea7587b027bffd94ac6fb069e7722342.tar.gz
paludis-2adc701cea7587b027bffd94ac6fb069e7722342.tar.xz
These are sequences, not sets
Diffstat (limited to 'doc/api/cplusplus/examples/example_match_package.cc')
-rw-r--r--doc/api/cplusplus/examples/example_match_package.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_match_package.cc b/doc/api/cplusplus/examples/example_match_package.cc
index 25240a8ce..79b9e982e 100644
--- a/doc/api/cplusplus/examples/example_match_package.cc
+++ b/doc/api/cplusplus/examples/example_match_package.cc
@@ -50,7 +50,7 @@ int main(int argc, char * argv[])
world(env->set(SetName("world")));
/* For each ID: */
- for (PackageIDSet::ConstIterator i(ids->begin()), i_end(ids->end()) ;
+ for (PackageIDSequence::ConstIterator i(ids->begin()), i_end(ids->end()) ;
i != i_end ; ++i)
{
/* Is it paludis? */