X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..da6a8948438ab0798f492ed7bf5dad2a515ca04e:/src/mc/mc_xbt.cpp diff --git a/src/mc/mc_xbt.cpp b/src/mc/mc_xbt.cpp index b7e6f5a272..257ebb47f6 100644 --- a/src/mc/mc_xbt.cpp +++ b/src/mc/mc_xbt.cpp @@ -6,12 +6,12 @@ #include -#include "src/mc/RemotePtr.hpp" #include "src/mc/AddressSpace.hpp" #include "src/mc/mc_xbt.hpp" +#include "src/mc/remote/RemotePtr.hpp" -#include -#include +#include "xbt/dynar.h" +#include "xbt/sysdep.h" namespace simgrid { namespace mc { @@ -30,7 +30,7 @@ void read_element(AddressSpace const& as, std::size_t read_length(AddressSpace const& as, RemotePtr addr) { - if (!addr) + if (not addr) return 0; unsigned long res; as.read_bytes(&res, sizeof(res),