From c62e8e2b285b9b401d6add5a7a0da98c7ea86373 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 6 Feb 2022 11:40:24 -0500 Subject: Update for clean compile with POINTERHOLDER_TRANSITION=2 --- libtests/qutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtests/qutil.cc') diff --git a/libtests/qutil.cc b/libtests/qutil.cc index dcea9fd6..75cd47b3 100644 --- a/libtests/qutil.cc +++ b/libtests/qutil.cc @@ -545,7 +545,7 @@ void read_from_file_test() Pl_Buffer b2("buffer"); // QUtil::file_provider also exercises QUtil::pipe_file QUtil::file_provider("other-file")(&b2); - PointerHolder buf2 = b2.getBuffer(); + auto buf2 = b2.getBufferSharedPointer(); assert(buf2->getSize() == size); assert(memcmp(buf2->getBuffer(), p, size) == 0); } -- cgit v1.2.3-54-g00ecf