aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_version_spec.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_version_spec.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_version_spec.cc')
-rw-r--r--doc/api/cplusplus/examples/example_version_spec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_version_spec.cc b/doc/api/cplusplus/examples/example_version_spec.cc
index 186fd798c..9b9fcc8e7 100644
--- a/doc/api/cplusplus/examples/example_version_spec.cc
+++ b/doc/api/cplusplus/examples/example_version_spec.cc
@@ -56,7 +56,7 @@ int main(int argc, char * argv[])
/* Show the output of various members. Not all of these are of much
* direct use. */
- cout << " " << left << setw(24) << "Hash value:" << " " << "0x" << hex << v->hash_value() << endl;
+ cout << " " << left << setw(24) << "Hash value:" << " " << "0x" << hex << v->hash() << endl;
cout << " " << left << setw(24) << "Remove revision:" << " " << v->remove_revision() << endl;
cout << " " << left << setw(24) << "Revision only:" << " " << v->revision_only() << endl;
cout << " " << left << setw(24) << "Bump:" << " " << v->bump() << endl;