aboutsummaryrefslogtreecommitdiff
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
parent7d30933809a78bc6d7e07a517c7612d3ae20fccb (diff)
downloadpaludis-2adc701cea7587b027bffd94ac6fb069e7722342.tar.gz
paludis-2adc701cea7587b027bffd94ac6fb069e7722342.tar.xz
These are sequences, not sets
-rw-r--r--doc/api/cplusplus/examples/example_contents.cc2
-rw-r--r--doc/api/cplusplus/examples/example_dep_label.cc2
-rw-r--r--doc/api/cplusplus/examples/example_formatter.cc2
-rw-r--r--doc/api/cplusplus/examples/example_mask.cc2
-rw-r--r--doc/api/cplusplus/examples/example_match_package.cc2
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc2
-rw-r--r--doc/api/cplusplus/examples/example_package_id.cc2
-rw-r--r--doc/api/cplusplus/examples/example_stringify_formatter.cc2
8 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/cplusplus/examples/example_contents.cc b/doc/api/cplusplus/examples/example_contents.cc
index 8ddf208..32d9e2e 100644
--- a/doc/api/cplusplus/examples/example_contents.cc
+++ b/doc/api/cplusplus/examples/example_contents.cc
@@ -75,7 +75,7 @@ int main(int argc, char * argv[])
filter::InstalledAtRoot(FSEntry("/")))]);
/* 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)
{
/* Do we have a contents key? PackageID _key() methods can return
diff --git a/doc/api/cplusplus/examples/example_dep_label.cc b/doc/api/cplusplus/examples/example_dep_label.cc
index bd679be..db1908a 100644
--- a/doc/api/cplusplus/examples/example_dep_label.cc
+++ b/doc/api/cplusplus/examples/example_dep_label.cc
@@ -160,7 +160,7 @@ int main(int argc, char * argv[])
ResultsMap results;
/* 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)
{
/* If we don't have a fetches key, skip this package. All PackageID
diff --git a/doc/api/cplusplus/examples/example_formatter.cc b/doc/api/cplusplus/examples/example_formatter.cc
index 447a851..240163c 100644
--- a/doc/api/cplusplus/examples/example_formatter.cc
+++ b/doc/api/cplusplus/examples/example_formatter.cc
@@ -181,7 +181,7 @@ int main(int argc, char * argv[])
cout << "<body>" << endl;
/* 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)
{
cout << "<h1>" << escape_html(stringify(**i)) << "</h1>" << endl;
diff --git a/doc/api/cplusplus/examples/example_mask.cc b/doc/api/cplusplus/examples/example_mask.cc
index ddc0152..06fc2a4 100644
--- a/doc/api/cplusplus/examples/example_mask.cc
+++ b/doc/api/cplusplus/examples/example_mask.cc
@@ -87,7 +87,7 @@ int main(int argc, char * argv[])
generator::Package(QualifiedPackageName("sys-apps/paludis")))]);
/* 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)
{
cout << **i << ":" << endl;
diff --git a/doc/api/cplusplus/examples/example_match_package.cc b/doc/api/cplusplus/examples/example_match_package.cc
index 25240a8..79b9e98 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? */
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index 4d313f5..865747e 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -265,7 +265,7 @@ int main(int argc, char * argv[])
generator::Package(QualifiedPackageName("sys-apps/paludis")))]);
/* 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)
{
cout << **i << ":" << endl;
diff --git a/doc/api/cplusplus/examples/example_package_id.cc b/doc/api/cplusplus/examples/example_package_id.cc
index 7ed8d61..e90b199 100644
--- a/doc/api/cplusplus/examples/example_package_id.cc
+++ b/doc/api/cplusplus/examples/example_package_id.cc
@@ -50,7 +50,7 @@ int main(int argc, char * argv[])
generator::Package(QualifiedPackageName("sys-apps/paludis")))]);
/* 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)
{
/* IDs can be written to an ostream. */
diff --git a/doc/api/cplusplus/examples/example_stringify_formatter.cc b/doc/api/cplusplus/examples/example_stringify_formatter.cc
index cf2f580..7dda45b 100644
--- a/doc/api/cplusplus/examples/example_stringify_formatter.cc
+++ b/doc/api/cplusplus/examples/example_stringify_formatter.cc
@@ -43,7 +43,7 @@ int main(int argc, char * argv[])
filter::SupportsAction<InstallAction>())]);
/* 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)
{
cout << stringify(**i) << ":" << endl;