Just printing resource name along with ID in subrequest (1 line commit!)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@806 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
504311a390
commit
6f8625d308
|
@ -1517,7 +1517,9 @@ TextSimulation::update(const History& changed_history)
|
||||||
SubRequest& sr = *subrequests[sri];
|
SubRequest& sr = *subrequests[sri];
|
||||||
oss << _(" --> request ") << ri + 1 << "." << sri + 1 << ") ";
|
oss << _(" --> request ") << ri + 1 << "." << sri + 1 << ") ";
|
||||||
oss << _("at ") << r.get_instant() << " ";
|
oss << _("at ") << r.get_instant() << " ";
|
||||||
oss << _("for resource ") << sr.get_resource_key() << " ";
|
ResourceIt point = resources.find(sr.get_resource_key());
|
||||||
|
oss << _("for resource ") << (point->second)->get_name() << " ";
|
||||||
|
oss << _("with id ") << sr.get_resource_key() << " ";
|
||||||
oss << "[" << sr.get_state() << "] ";
|
oss << "[" << sr.get_state() << "] ";
|
||||||
oss << _("requiring ") << sr.get_length() << ", ";
|
oss << _("requiring ") << sr.get_length() << ", ";
|
||||||
oss << _("remaining ") << sr.get_remaining_time() << endl;
|
oss << _("remaining ") << sr.get_remaining_time() << endl;
|
||||||
|
|
Loading…
Reference in New Issue