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
[mc] Use std::equal_range in get_search_range()
[simgrid.git]
/
src
/
s4u
/
s4u_async.cpp
diff --git
a/src/s4u/s4u_async.cpp
b/src/s4u/s4u_async.cpp
index
7088472
..
183803d
100644
(file)
--- a/
src/s4u/s4u_async.cpp
+++ b/
src/s4u/s4u_async.cpp
@@
-5,8
+5,7
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.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;
}
}