A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added circle placement for ns3 wifi nodes
[simgrid.git]
/
src
/
mc
/
AddressSpace.hpp
diff --git
a/src/mc/AddressSpace.hpp
b/src/mc/AddressSpace.hpp
index 00be2d0e56fc5f71b24ebd8b1f0acba4f1fe23c1..005adaa44a971f56456668458809ab495331283c 100644
(file)
--- a/
src/mc/AddressSpace.hpp
+++ b/
src/mc/AddressSpace.hpp
@@
-23,7
+23,7
@@
class ReadOptions {
constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {}
public:
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; }
explicit constexpr operator bool() const { return value_ != 0; }
constexpr bool operator!() const { return value_ == 0; }
@@
-84,17
+84,17
@@
public:
*/
class AddressSpace {
private:
*/
class AddressSpace {
private:
- Remote
ClientMemory* process
_;
+ Remote
Simulation* remote_simulation
_;
public:
public:
- explicit AddressSpace(Remote
ClientMemory* process) : process_(process
) {}
+ explicit AddressSpace(Remote
Simulation* remote_simulation) : remote_simulation_(remote_simulation
) {}
virtual ~AddressSpace() = default;
/** The process of this address space
*
virtual ~AddressSpace() = default;
/** The process of this address space
*
- * This is where we can get debug information
s
, memory layout, etc.
+ * This is where we can get debug information, memory layout, etc.
*/
*/
- simgrid::mc::Remote
ClientMemory* process() const { return process
_; }
+ simgrid::mc::Remote
Simulation* get_remote_simulation() const { return remote_simulation
_; }
/** Read data from the address space
*
/** Read data from the address space
*