mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
remove redundent assertion alignment check to avoid exiting the function without releasing scoped mutex
This commit is contained in:
@@ -645,7 +645,6 @@ bool rbtree_best_fit<MutexFamily, VoidPointer, MemAlignment>::
|
||||
//Iterate through all blocks obtaining their size
|
||||
for(; ib != ie; ++ib){
|
||||
free_memory += (size_type)ib->m_size*Alignment;
|
||||
algo_impl_t::assert_alignment(&*ib);
|
||||
if(!algo_impl_t::check_alignment(&*ib))
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user