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
Separate Coverage and DynamicAnalysys scripts.
[simgrid.git]
/
src
/
s4u
/
s4u_async.cpp
diff --git
a/src/s4u/s4u_async.cpp
b/src/s4u/s4u_async.cpp
index
5bbce9a
..
183803d
100644
(file)
--- a/
src/s4u/s4u_async.cpp
+++ b/
src/s4u/s4u_async.cpp
@@
-6,7
+6,6
@@
#include "xbt/log.h"
#include "src/msg/msg_private.h"
#include "xbt/log.h"
#include "src/msg/msg_private.h"
-#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/async.hpp"
#include "simgrid/s4u/async.hpp"
@@
-22,7
+21,7
@@
s4u::Async::~Async() {
}
void s4u::Async::setRemains(double remains) {
}
void s4u::Async::setRemains(double remains) {
-
xbt_assert(p_state == inited, "Cannot change the remaining amount of work once the Async is started");
-
p_remains = remains;
+ xbt_assert(p_state == inited, "Cannot change the remaining amount of work once the Async is started");
+ p_remains = remains;
}
}