mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fixed broken multiallocation_chain due to container library changes
[SVN r80688]
This commit is contained in:
@@ -64,8 +64,7 @@ int main()
|
||||
|
||||
//Initialize our data
|
||||
while(!chain.empty()){
|
||||
void *buf = chain.front();
|
||||
chain.pop_front();
|
||||
void *buf = chain.pop_front();
|
||||
allocated_buffers.push_back(buf);
|
||||
//The iterator must be incremented before overwriting memory
|
||||
//because otherwise, the iterator is invalidated.
|
||||
|
||||
Reference in New Issue
Block a user