X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..2fbcc71ab230e6a05e64189f6bd7c49c1df31907:/src/mc/remote/RemotePtr.hpp diff --git a/src/mc/remote/RemotePtr.hpp b/src/mc/remote/RemotePtr.hpp index d4c7bca2a9..29007105d3 100644 --- a/src/mc/remote/RemotePtr.hpp +++ b/src/mc/remote/RemotePtr.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,10 +6,9 @@ #ifndef SIMGRID_MC_REMOTE_PTR_HPP #define SIMGRID_MC_REMOTE_PTR_HPP -#include "src/simix/smx_private.hpp" +#include "src/kernel/actor/ActorImpl.hpp" -namespace simgrid { -namespace mc { +namespace simgrid::mc { /** HACK, A value from another process * @@ -27,7 +26,7 @@ namespace mc { */ template class Remote { private: - typename std::aligned_storage::type buffer; + typename std::aligned_storage_t buffer; public: Remote() = default; @@ -135,7 +134,6 @@ template inline RemotePtr remote(uint64_t p) { return RemotePtr(p); } -} // namespace mc -} // namespace simgrid +} // namespace simgrid::mc #endif