mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fixed forwarding error in Visual 2010
[SVN r80521]
This commit is contained in:
@@ -679,8 +679,7 @@ bool test_many_equal_allocation(Allocator &a)
|
||||
|
||||
typename multiallocation_chain::size_type n = chain.size();
|
||||
while(!chain.empty()){
|
||||
buffers.push_back(ipcdetail::to_raw_pointer(chain.front()));
|
||||
chain.pop_front();
|
||||
buffers.push_back(ipcdetail::to_raw_pointer(chain.pop_front()));
|
||||
}
|
||||
if(n != std::size_t((i+1)*2))
|
||||
return false;
|
||||
@@ -788,8 +787,7 @@ bool test_many_different_allocation(Allocator &a)
|
||||
break;
|
||||
typename multiallocation_chain::size_type n = chain.size();
|
||||
while(!chain.empty()){
|
||||
buffers.push_back(ipcdetail::to_raw_pointer(chain.front()));
|
||||
chain.pop_front();
|
||||
buffers.push_back(ipcdetail::to_raw_pointer(chain.pop_front()));
|
||||
}
|
||||
if(n != ArraySize)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user