Fixes Issue #61: "compile problems on Android ndk r16 beta 1"

This commit is contained in:
Ion Gaztañaga
2018-01-27 23:27:54 +01:00
parent 011663b336
commit 9137957672
2 changed files with 2 additions and 1 deletions

View File

@@ -1240,6 +1240,7 @@ use [*Boost.Container]? There are several reasons for that:
* Improved range insertion in ['flat_[multi]map/set] containers overall complexity is reduced to O(NlogN).
* Fixed bugs:
* [@https://github.com/boostorg/container/pull/61 GitHub #61: ['"Compile problems on Android ndk r16 beta 1"]].
* [@https://github.com/boostorg/container/pull/64 GitHub #64: ['"Fix splice for slist"]].
* [@https://github.com/boostorg/container/issues/58 GitHub #65: ['"`pmr::monotonic_buffer_resource::allocate()` can return a pointer to freed memory after `release()` is called"]].

View File

@@ -1092,7 +1092,7 @@ int boost_cont_multialloc_arrays
/*Doug Lea malloc extensions*/
static boost_cont_malloc_stats_t get_malloc_stats(mstate m)
{
boost_cont_malloc_stats_t ret;
boost_cont_malloc_stats_t ret = { 0, 0, 0 };
ensure_initialization();
if (!PREACTION(m)) {
size_t maxfp = 0;