Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u: stick to the new naming conventions
[simgrid.git] / src / s4u / s4u_async.cpp
index 183803d..bf2f951 100644 (file)
@@ -21,7 +21,7 @@ s4u::Async::~Async() {
 }
 
 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(state_ == inited, "Cannot change the remaining amount of work once the Async is started");
+  remains_ = remains;
 }