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
useless cosmetics around NS3 long routes
[simgrid.git]
/
src
/
mc
/
RegionSnapshot.hpp
diff --git
a/src/mc/RegionSnapshot.hpp
b/src/mc/RegionSnapshot.hpp
index
182c6f1
..
e9339f7
100644
(file)
--- a/
src/mc/RegionSnapshot.hpp
+++ b/
src/mc/RegionSnapshot.hpp
@@
-15,10
+15,10
@@
#include <xbt/base.h>
#include <xbt/base.h>
-#include "src/mc/RemotePtr.hpp"
-#include "src/mc/PageStore.hpp"
#include "src/mc/AddressSpace.hpp"
#include "src/mc/ChunkedData.hpp"
#include "src/mc/AddressSpace.hpp"
#include "src/mc/ChunkedData.hpp"
+#include "src/mc/PageStore.hpp"
+#include "src/mc/remote/RemotePtr.hpp"
namespace simgrid {
namespace mc {
namespace simgrid {
namespace mc {
@@
-50,7
+50,7
@@
private:
Buffer(void* data, std::size_t size, Type type = Type::Malloc) :
data_(data), size_(size), type_(type) {}
public:
Buffer(void* data, std::size_t size, Type type = Type::Malloc) :
data_(data), size_(size), type_(type) {}
public:
- Buffer()
{}
+ Buffer()
= default;
void clear() noexcept;
~Buffer() noexcept { clear(); }
void clear() noexcept;
~Buffer() noexcept { clear(); }
@@
-103,7
+103,7
@@
public:
*
* * privatized (SMPI global variable privatisation).
*
*
* * privatized (SMPI global variable privatisation).
*
- * This is handled with a variant based approch:
+ * This is handled with a variant based appro
a
ch:
*
* * `storage_type` identified the type of storage;
*
*
* * `storage_type` identified the type of storage;
*
@@
-157,7
+157,7
@@
public:
size_(size),
permanent_addr_(permanent_addr)
{}
size_(size),
permanent_addr_(permanent_addr)
{}
- ~RegionSnapshot()
{}
+ ~RegionSnapshot()
= default;
RegionSnapshot(RegionSnapshot const&) = default;
RegionSnapshot& operator=(RegionSnapshot const&) = default;
RegionSnapshot(RegionSnapshot&& that)
RegionSnapshot(RegionSnapshot const&) = default;
RegionSnapshot& operator=(RegionSnapshot const&) = default;
RegionSnapshot(RegionSnapshot&& that)
@@
-277,6
+277,6
@@
simgrid::mc::RegionSnapshot region(
}
}
}
}
-typedef class simgrid::mc::RegionSnapshot s_mc_mem_region_t
, *mc_mem_region_t
;
-
+typedef class simgrid::mc::RegionSnapshot s_mc_mem_region_t;
+typedef s_mc_mem_region_t* mc_mem_region_t;
#endif
#endif