mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Doxygen bug workaround. Corrected Solaris errors. Experimental grow/shrink_to_fit for managed_shared_memory and managed_mapped_file.
[SVN r40268]
This commit is contained in:
@@ -189,8 +189,10 @@ int main ()
|
||||
const char *insert_beg = detail::char_ptr_cast(heap_buffer.get_address());
|
||||
const char *insert_end = insert_beg + heap_buffer.get_size();
|
||||
std::vector<char> grow_copy (insert_beg, insert_end);
|
||||
|
||||
//Destroy old list
|
||||
heap_buffer.destroy<MyHeapList>(L"MyHeapList");
|
||||
|
||||
//Resize copy buffer
|
||||
grow_copy.resize(memsize*2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user