- for (auto const& act : activities_) {
- serialize_activity_wait(act, timeout_ > 0, stream);
+ for (auto const* act : activities_) {
+ // fun_call of each activity embedded in the WaitAny is not known, so let's use the location of the WaitAny itself
+ serialize_activity_wait(act, timeout_ > 0, fun_call_, stream);