{
std::vector<std::string> trace;
for (auto const& transition : get_record_trace()) {
- auto call_location = transition->get_call_location();
+ auto const& call_location = transition->get_call_location();
if (not call_location.empty())
trace.push_back(xbt::string_printf("Actor %ld in %s ==> simcall: %s", transition->aid_, call_location.c_str(),
transition->to_string().c_str()));
/** Returns something like >>label = "desc", color = c<< to describe the transition in dot format */
virtual std::string dot_string() const;
- std::string get_call_location() { return call_location_; }
+ std::string const& get_call_location() const { return call_location_; }
/* Moves the application toward a path that was already explored, but don't change the current transition */
void replay(RemoteApp& app) const;