aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/ph
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-04 15:46:55 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-04 19:12:37 +0100
commitf727bc94432905d79af23cf0aef14854965da2cd (patch)
treef4d3d41c28bb0f1536bf609bcbbdb2ec83b339dd /libtests/qtest/ph
parentf76191f0c217f48b5a935fa7170771fdfb66e2cb (diff)
downloadqpdf-f727bc94432905d79af23cf0aef14854965da2cd.tar.zst
PointerHolder: add get() and use_count() for forward compatibility
PointerHolder will be replaced with shared_ptr, so let people start moving.
Diffstat (limited to 'libtests/qtest/ph')
-rw-r--r--libtests/qtest/ph/ph.out12
1 files changed, 9 insertions, 3 deletions
diff --git a/libtests/qtest/ph/ph.out b/libtests/qtest/ph/ph.out
index 5d249712..a7efe1bb 100644
--- a/libtests/qtest/ph/ph.out
+++ b/libtests/qtest/ph/ph.out
@@ -10,17 +10,23 @@ destroyed Object, id 2
equal okay
less than okay
created Object, id 3
+created Object, id 4
+calling Object::hello const for 4
+destroyed Object, id 4
+calling Object::hello for 1
+calling Object::hello for 1
+calling Object::hello for 1
+calling Object::hello for 1
calling Object::hello for 1
calling Object::hello for 1
calling Object::hello for 1
-calling Object::hello const for 1
calling Object::hello const for 1
calling Object::hello const for 1
array
-created Object, id 4
created Object, id 5
+created Object, id 6
goodbye
+destroyed Object, id 6
destroyed Object, id 5
-destroyed Object, id 4
destroyed Object, id 3
destroyed Object, id 1