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
Remove/cleanup/fix #include
[simgrid.git]
/
src
/
mc
/
mc_xbt.cpp
diff --git
a/src/mc/mc_xbt.cpp
b/src/mc/mc_xbt.cpp
index
6c832f8
..
bfdd156
100644
(file)
--- a/
src/mc/mc_xbt.cpp
+++ b/
src/mc/mc_xbt.cpp
@@
-4,16
+4,20
@@
/* 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. */
/* 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. */
-#include <
xbt/sysdep.h
>
+#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 <xbt/dynar.h>
+#include <xbt/sysdep.h>
+
namespace simgrid {
namespace mc {
void read_element(AddressSpace const& as,
namespace simgrid {
namespace mc {
void read_element(AddressSpace const& as,
- void* local, remote_ptr<s_xbt_dynar_t> addr, s
ize_t i,
size_t len)
+ void* local, remote_ptr<s_xbt_dynar_t> addr, s
td::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);