mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fixed intrusive_ptr and named condition test and added documentation.
[SVN r40454]
This commit is contained in:
@@ -549,7 +549,7 @@ bool test_many_equal_allocation(Allocator &a)
|
||||
|
||||
std::size_t n = 0;
|
||||
for(; it != itend; ++n){
|
||||
buffers.push_back(*it++);
|
||||
buffers.push_back(&*it++);
|
||||
}
|
||||
if(n != std::size_t((i+1)*2))
|
||||
return false;
|
||||
@@ -653,7 +653,7 @@ bool test_many_different_allocation(Allocator &a)
|
||||
multiallocation_iterator itend;
|
||||
std::size_t n = 0;
|
||||
for(; it != itend; ++n){
|
||||
buffers.push_back(*it++);
|
||||
buffers.push_back(&*it++);
|
||||
}
|
||||
if(n != ArraySize)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user