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
/
mc_xbt.cpp
diff --git
a/src/mc/mc_xbt.cpp
b/src/mc/mc_xbt.cpp
index
bfdd156
..
00cbe6c
100644
(file)
--- a/
src/mc/mc_xbt.cpp
+++ b/
src/mc/mc_xbt.cpp
@@
-6,9
+6,9
@@
#include <cstddef>
#include <cstddef>
-#include "src/mc/remote_ptr.hpp"
#include "src/mc/AddressSpace.hpp"
#include "src/mc/mc_xbt.hpp"
#include "src/mc/AddressSpace.hpp"
#include "src/mc/mc_xbt.hpp"
+#include "src/mc/remote/RemotePtr.hpp"
#include <xbt/dynar.h>
#include <xbt/sysdep.h>
#include <xbt/dynar.h>
#include <xbt/sysdep.h>
@@
-17,7
+17,7
@@
namespace simgrid {
namespace mc {
void read_element(AddressSpace const& as,
namespace mc {
void read_element(AddressSpace const& as,
- void* local,
remote_p
tr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len)
+ void* local,
RemoteP
tr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len)
{
s_xbt_dynar_t d;
as.read_bytes(&d, sizeof(d), addr);
{
s_xbt_dynar_t d;
as.read_bytes(&d, sizeof(d), addr);
@@
-28,7
+28,7
@@
void read_element(AddressSpace const& as,
as.read_bytes(local, len, remote(xbt_dynar_get_ptr(&d, i)));
}
as.read_bytes(local, len, remote(xbt_dynar_get_ptr(&d, i)));
}
-std::size_t read_length(AddressSpace const& as,
remote_p
tr<s_xbt_dynar_t> addr)
+std::size_t read_length(AddressSpace const& as,
RemoteP
tr<s_xbt_dynar_t> addr)
{
if (!addr)
return 0;
{
if (!addr)
return 0;