aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-06 15:24:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-07 11:32:56 +0000
commit4d9e95cfc626a2f98262a267050250f30dc6b3bd (patch)
tree74dfd4f8f327a34e57ec6f00956e8d27f554708c /doc/api/cplusplus
parent069c40621c0f9612b689448993f113d5f7ec96dd (diff)
downloadpaludis-4d9e95cfc626a2f98262a267050250f30dc6b3bd.tar.gz
paludis-4d9e95cfc626a2f98262a267050250f30dc6b3bd.tar.xz
Pass id to as_human_string
Diffstat (limited to 'doc/api/cplusplus')
-rw-r--r--doc/api/cplusplus/examples/example_dep_spec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_dep_spec.cc b/doc/api/cplusplus/examples/example_dep_spec.cc
index 2e9598507..081b201ed 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -133,7 +133,7 @@ int main(int argc, char * argv[])
if (need_join)
cout << " and ";
- cout << (*u)->as_raw_string() + " (meaning: " + (*u)->as_human_string() + ")";
+ cout << (*u)->as_raw_string() + " (meaning: " + (*u)->as_human_string(make_null_shared_ptr()) + ")";
need_join = true;
}
cout << endl;