diff options
Diffstat (limited to 'libtests/qutil.cc')
-rw-r--r-- | libtests/qutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<Buffer> buf2 = b2.getBuffer(); + auto buf2 = b2.getBufferSharedPointer(); assert(buf2->getSize() == size); assert(memcmp(buf2->getBuffer(), p, size) == 0); } |