File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/srsran/support/memory_pool Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ class fixed_size_memory_block_pool
219219 pool.incomplete_batch .push (local_cache.back ().try_pop ());
220220 if (pool.incomplete_batch .size () >= block_batch_size) {
221221 // The incomplete batch is now complete and can be pushed to the central cache.
222- report_error_if_not (pool.central_mem_cache .try_enqueue (pool.incomplete_batch ),
222+ report_error_if_not (pool.central_mem_cache .enqueue (pool.incomplete_batch ),
223223 " Failed to push blocks to central cache" );
224224 pool.incomplete_batch .clear ();
225225 }
@@ -228,7 +228,7 @@ class fixed_size_memory_block_pool
228228 local_cache.pop_back ();
229229 continue ;
230230 }
231- report_error_if_not (pool.central_mem_cache .try_enqueue (local_cache.back ()),
231+ report_error_if_not (pool.central_mem_cache .enqueue (local_cache.back ()),
232232 " Failed to push blocks back to central cache" );
233233 local_cache.pop_back ();
234234 }
You can’t perform that action at this time.
0 commit comments