-/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2021. 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. */
*/
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;
{
return RemotePtr<T>(p);
}
-}
-}
+} // namespace mc
+} // namespace simgrid
#endif