X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/50d1b7d92ae3aa2679bc86780cf3c0ea12455365..a36a036c5edf09e563f1fe7b1df4aa791e3ea47e:/src/mc/AddressSpace.hpp diff --git a/src/mc/AddressSpace.hpp b/src/mc/AddressSpace.hpp index 6aed5ea8a2..d0c92b51e9 100644 --- a/src/mc/AddressSpace.hpp +++ b/src/mc/AddressSpace.hpp @@ -13,7 +13,7 @@ #include -#include "mc_forward.hpp" +#include "src/mc/mc_forward.hpp" namespace simgrid { namespace mc { @@ -50,12 +50,12 @@ public: { return remote_ptr(address_ - n * sizeof(T)); } - remote_ptr& operator+=(std::uint64_t n) const + remote_ptr& operator+=(std::uint64_t n) { address_ += n * sizeof(T); return *this; } - remote_ptr& operator-=(std::uint64_t n) const + remote_ptr& operator-=(std::uint64_t n) { address_ -= n * sizeof(T); return *this;