X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/799a432e8ac74a0a84feb8dbf7a78a14068050b3..22de1606d048d8ad200f93643bc80434644acea7:/src/mc/AddressSpace.hpp diff --git a/src/mc/AddressSpace.hpp b/src/mc/AddressSpace.hpp index 00be2d0e56..f05725bb7b 100644 --- a/src/mc/AddressSpace.hpp +++ b/src/mc/AddressSpace.hpp @@ -1,4 +1,4 @@ -/* 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. */ @@ -23,7 +23,7 @@ class ReadOptions { constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {} public: - constexpr ReadOptions() {} + constexpr ReadOptions() = default; explicit constexpr operator bool() const { return value_ != 0; } constexpr bool operator!() const { return value_ == 0; } @@ -84,17 +84,17 @@ public: */ class AddressSpace { private: - RemoteClientMemory* process_; + RemoteSimulation* remote_simulation_; public: - explicit AddressSpace(RemoteClientMemory* process) : process_(process) {} + explicit AddressSpace(RemoteSimulation* remote_simulation) : remote_simulation_(remote_simulation) {} virtual ~AddressSpace() = default; /** The process of this address space * - * This is where we can get debug informations, memory layout, etc. + * This is where we can get debug information, memory layout, etc. */ - simgrid::mc::RemoteClientMemory* process() const { return process_; } + simgrid::mc::RemoteSimulation* get_remote_simulation() const { return remote_simulation_; } /** Read data from the address space *