Skip to content

Commit

Permalink
addressing review
Browse files Browse the repository at this point in the history
Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com>
  • Loading branch information
dorjesinpo committed Sep 3, 2024
1 parent b250f57 commit c2a1396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groups/mqb/mqbblp/mqbblp_pushstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ PushStream::PushStream(
noOpDeleter,
allocator)
{
allocator = bslma::Default::allocator(allocator);

if (!d_pushElementsPool_sp) {
d_pushElementsPool_sp.load(
new (*allocator) bdlma::ConcurrentPool(sizeof(Element), allocator),
Expand Down Expand Up @@ -129,8 +131,6 @@ void PushStreamIterator::removeCurrentElement()
// doKeepGuid because of the d_iterator

if (d_iterator->second.numElements() == 0) {
// d_currentElement->eraseFromStream(d_owner_p->d_stream);

BSLS_ASSERT_SAFE(d_currentElement == 0);
}
}
Expand Down

0 comments on commit c2a1396

Please sign in to comment.