X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa40abdc1d0705869a181ee3f2e9be45325d4e25..f50a3b14cac88d8c6db2219f5a2c79696770ed6d:/src/mc/sosp/PageStore_test.cpp diff --git a/src/mc/sosp/PageStore_test.cpp b/src/mc/sosp/PageStore_test.cpp index 99ff03aef3..526bfc7df5 100644 --- a/src/mc/sosp/PageStore_test.cpp +++ b/src/mc/sosp/PageStore_test.cpp @@ -5,6 +5,7 @@ #include "src/include/catch.hpp" +#include #include #include #include @@ -25,7 +26,7 @@ public: static std::size_t pagesize; static std::unique_ptr store; static void* data; - static size_t pageno[4]; + static std::array pageno; static int value; // member functions used by the test suite(s) @@ -43,7 +44,7 @@ public: std::size_t helper_tests::pagesize = 0; std::unique_ptr helper_tests::store = nullptr; void* helper_tests::data = nullptr; -size_t helper_tests::pageno[4] = {0, 0, 0, 0}; +std::array helper_tests::pageno = {{0, 0, 0, 0}}; int helper_tests::value = 0; void helper_tests::Init()