@@ -166,7 +166,7 @@ static void test2_validPushMessagePrint()
166166 bdlbb::PooledBlobBufferFactory bufferFactory (
167167 4 * 1024 ,
168168 bmqtst::TestHelperUtil::allocator ());
169- bmqp::BlobPoolUtil::BlobSpPool blobSpPool (
169+ bmqp::BlobPoolUtil::BlobSpPoolSp blobSpPool (
170170 bmqp::BlobPoolUtil::createBlobPool (
171171 &bufferFactory,
172172 bmqtst::TestHelperUtil::allocator ()));
@@ -192,7 +192,7 @@ static void test2_validPushMessagePrint()
192192 bsl::strlen (buffer));
193193
194194 // Create PushEventBuilder
195- bmqp::PushEventBuilder peb (& blobSpPool,
195+ bmqp::PushEventBuilder peb (blobSpPool. get () ,
196196 bmqtst::TestHelperUtil::allocator ());
197197 BMQTST_ASSERT_EQ (sizeof (bmqp::EventHeader),
198198 static_cast <size_t >(peb.eventSize ()));
@@ -256,7 +256,7 @@ static void test3_messageProperties()
256256 bdlbb::PooledBlobBufferFactory bufferFactory (
257257 4 * 1024 ,
258258 bmqtst::TestHelperUtil::allocator ());
259- bmqp::BlobPoolUtil::BlobSpPool blobSpPool (
259+ bmqp::BlobPoolUtil::BlobSpPoolSp blobSpPool (
260260 bmqp::BlobPoolUtil::createBlobPool (
261261 &bufferFactory,
262262 bmqtst::TestHelperUtil::allocator ()));
@@ -290,7 +290,7 @@ static void test3_messageProperties()
290290 bdlbb::BlobUtil::append (&payload, buffer, bsl::strlen (buffer));
291291
292292 // Create PushEventBuilder
293- bmqp::PushEventBuilder peb (& blobSpPool,
293+ bmqp::PushEventBuilder peb (blobSpPool. get () ,
294294 bmqtst::TestHelperUtil::allocator ());
295295
296296 // Add SubQueueInfo option
@@ -432,7 +432,7 @@ static void test4_subscriptionHandle()
432432 bdlbb::PooledBlobBufferFactory bufferFactory (
433433 4 * 1024 ,
434434 bmqtst::TestHelperUtil::allocator ());
435- bmqp::BlobPoolUtil::BlobSpPool blobSpPool (
435+ bmqp::BlobPoolUtil::BlobSpPoolSp blobSpPool (
436436 bmqp::BlobPoolUtil::createBlobPool (
437437 &bufferFactory,
438438 bmqtst::TestHelperUtil::allocator ()));
@@ -459,7 +459,7 @@ static void test4_subscriptionHandle()
459459 bmqtst::TestHelperUtil::allocator ());
460460
461461 // Create PushEventBuilder
462- bmqp::PushEventBuilder peb (& blobSpPool,
462+ bmqp::PushEventBuilder peb (blobSpPool. get () ,
463463 bmqtst::TestHelperUtil::allocator ());
464464 BMQTST_ASSERT_EQ (0 , peb.messageCount ());
465465
@@ -525,7 +525,7 @@ static void test4_subscriptionHandle()
525525 bmqtst::TestHelperUtil::allocator ());
526526
527527 // Create PushEventBuilder
528- bmqp::PushEventBuilder peb (& blobSpPool,
528+ bmqp::PushEventBuilder peb (blobSpPool. get () ,
529529 bmqtst::TestHelperUtil::allocator ());
530530 BMQTST_ASSERT_EQ (0 , peb.messageCount ());
531531
@@ -573,7 +573,7 @@ static void test4_subscriptionHandle()
573573 bmqtst::TestHelperUtil::allocator ());
574574
575575 // Create PutEventBuilder
576- bmqp::PutEventBuilder builder (& blobSpPool,
576+ bmqp::PutEventBuilder builder (blobSpPool. get () ,
577577 bmqtst::TestHelperUtil::allocator ());
578578 BMQTST_ASSERT_EQ (0 , builder.messageCount ());
579579
@@ -614,7 +614,7 @@ static void test4_subscriptionHandle()
614614 bmqtst::TestHelperUtil::allocator ());
615615
616616 // Create AckEventBuilder
617- bmqp::AckEventBuilder builder (& blobSpPool,
617+ bmqp::AckEventBuilder builder (blobSpPool. get () ,
618618 bmqtst::TestHelperUtil::allocator ());
619619 BMQTST_ASSERT_EQ (0 , builder.messageCount ());
620620
0 commit comments