X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e8a6be46801437262a0e5c88626615af6b4e2da7..78da1c00f59351748ceb0f957c7293b6bd71a31d:/teshsuite/xbt/mmalloc/mmalloc_test.cpp diff --git a/teshsuite/xbt/mmalloc/mmalloc_test.cpp b/teshsuite/xbt/mmalloc/mmalloc_test.cpp index 2d50a4e749..fd9e809deb 100644 --- a/teshsuite/xbt/mmalloc/mmalloc_test.cpp +++ b/teshsuite/xbt/mmalloc/mmalloc_test.cpp @@ -7,6 +7,7 @@ #include "xbt.h" #include "xbt/mmalloc.h" +#include #include #include #include @@ -14,6 +15,7 @@ #include #include #include +#include XBT_LOG_NEW_DEFAULT_CATEGORY(test,"this test"); @@ -32,7 +34,7 @@ static void check_block(const unsigned char* p, unsigned char b, int n) int main(int argc, char**argv) { xbt_mheap_t heapA = nullptr; - void *pointers[TESTSIZE]; + std::array pointers; xbt_init(&argc,argv); XBT_INFO("Allocating a new heap");