-void s4u::Async::setRemains(double remains) {
- xbt_assert(state_ == inited, "Cannot change the remaining amount of work once the Async is started");
+void s4u::Activity::setRemains(double remains) {
+ xbt_assert(state_ == inited, "Cannot change the remaining amount of work once the Activity is started");