Commit e0b3e23489b53bb1bd9ffee740e180d8e49c53d5
- Diff rendering mode:
- inline
- side by side
etc/ChangeLog-5.1
(6 / 0)
|   | |||
| 1 | 2007-10-21 Francois Dumont <dums@users.sourceforge.net> | ||
| 2 | |||
| 3 | * src/allocators.cpp: Add missing const_cast in lock free | ||
| 4 | allocator implementation when _STLP_LEAKS_PEDANTIC is defined. | ||
| 5 | Thanks trungantran on forum. | ||
| 6 | |||
| 1 | 7 | 2007-10-07 Francois Dumont <dums@users.sourceforge.net> | |
| 2 | 8 | ||
| 3 | 9 | * STLport 5.1.4 released based on revision 3219. STLport-5.1.4 |
src/allocators.cpp
(1 / 1)
|   | |||
| 445 | 445 | _S_chunks = 0; | |
| 446 | 446 | _S_start_free = _S_end_free = 0; | |
| 447 | 447 | _S_heap_size = 0; | |
| 448 | memset(__REINTERPRET_CAST(char*, &_S_free_list[0]), 0, _STLP_NFREELISTS * sizeof(_Obj*)); | ||
| 448 | memset(__REINTERPRET_CAST(char*, __CONST_CAST(_Obj**, &_S_free_list[0])), 0, _STLP_NFREELISTS * sizeof(_Obj*)); | ||
| 449 | 449 | } | |
| 450 | 450 | # endif /* _STLP_DO_CLEAN_NODE_ALLOC */ | |
| 451 | 451 |

