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_smx.cpp
diff --git
a/src/mc/mc_smx.cpp
b/src/mc/mc_smx.cpp
index
9abf26b
..
205fcf7
100644
(file)
--- a/
src/mc/mc_smx.cpp
+++ b/
src/mc/mc_smx.cpp
@@
-5,14
+5,17
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <cassert>
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <cassert>
+#include <cstdlib>
#include <xbt/log.h>
#include <xbt/log.h>
-#include <xbt/string.hpp>
+#include <xbt/dynar.h>
+#include <xbt/str.h>
+#include <xbt/swag.h>
#include "src/simix/smx_private.h"
#include "src/mc/mc_smx.h"
#include "src/simix/smx_private.h"
#include "src/mc/mc_smx.h"
-#include "ModelChecker.hpp"
+#include "
src/mc/
ModelChecker.hpp"
using simgrid::mc::remote;
using simgrid::mc::remote;
@@
-22,7
+25,7
@@
static
void MC_smx_process_info_clear(mc_smx_process_info_t p)
{
p->hostname = nullptr;
void MC_smx_process_info_clear(mc_smx_process_info_t p)
{
p->hostname = nullptr;
- free(p->name);
+
std::
free(p->name);
p->name = nullptr;
}
p->name = nullptr;
}