]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/remote/RemotePtr.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove last bits of Lua bindings.
[simgrid.git] / src / mc / remote / RemotePtr.hpp
index f4f38ef15474046a219fe79f94eaab279b77c262..90ad5c5d98ef26241e254759e495f1fd0d9c4ebc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2008-2022. 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,7 +6,7 @@
 #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 {
@@ -27,7 +27,7 @@ namespace mc {
  */
 template <class T> class Remote {
 private:
-  typename std::aligned_storage<sizeof(T), alignof(T)>::type buffer;
+  typename std::aligned_storage_t<sizeof(T), alignof(T)> buffer;
 
 public:
   Remote() = default;
@@ -135,7 +135,7 @@ template <class T = void> inline RemotePtr<T> remote(uint64_t p)
 {
   return RemotePtr<T>(p);
 }
-}
-}
+} // namespace mc
+} // namespace simgrid
 
 #endif