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:
matrevis 2006-07-31 23:35:27 +00:00
parent 504311a390
commit 6f8625d308
1 changed files with 3 additions and 1 deletions

View File

@ -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;