aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_match_package.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
commit118de550d2dc5508ff4446bdf7f2ddf7b497b9ba (patch)
tree5ced2de062474cb8e6537e68d71cbc7c5a80e802 /doc/api/cplusplus/examples/example_match_package.cc
parentf76a3a0a7b38b5a3652a9e9bcb13942483f7c53a (diff)
downloadpaludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.gz
paludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.xz
paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3).
Diffstat (limited to 'doc/api/cplusplus/examples/example_match_package.cc')
-rw-r--r--doc/api/cplusplus/examples/example_match_package.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/cplusplus/examples/example_match_package.cc b/doc/api/cplusplus/examples/example_match_package.cc
index 90fdd6dab..09266ba8d 100644
--- a/doc/api/cplusplus/examples/example_match_package.cc
+++ b/doc/api/cplusplus/examples/example_match_package.cc
@@ -36,17 +36,17 @@ int main(int argc, char * argv[])
"example_match_package", "EXAMPLE_MATCH_PACKAGE_OPTIONS", "EXAMPLE_MATCH_PACKAGE_CMDLINE");
/* We start with an Environment, respecting the user's '--environment' choice. */
- tr1::shared_ptr<Environment> env(EnvironmentMaker::get_instance()->make_from_spec(
+ std::tr1::shared_ptr<Environment> env(EnvironmentMaker::get_instance()->make_from_spec(
CommandLine::get_instance()->a_environment.argument()));
/* Fetch all installed packages. */
- tr1::shared_ptr<const PackageIDSequence> ids(env->package_database()->query(
+ std::tr1::shared_ptr<const PackageIDSequence> ids(env->package_database()->query(
query::SupportsAction<InstalledAction>(),
qo_order_by_version));
/* Fetch the 'system' and 'world' sets. Ordinarily we should check for
* zero pointers here, but these two sets will always exist. */
- tr1::shared_ptr<const SetSpecTree::ConstItem> system(env->set(SetName("system"))),
+ std::tr1::shared_ptr<const SetSpecTree::ConstItem> system(env->set(SetName("system"))),
world(env->set(SetName("world")));
/* For each ID: */