177
182
* check whether it was submitted or not, and then only keep the submitted
178
183
* ones. The latter algorithm is implemented below.
182
188
std::list<JobDescription const *>::iterator itNotS = notsubmitted.begin();
183
189
for (; itNotS != notsubmitted.end(); ++itNotS) if (*itNotS == &*itJ) break;
185
191
if (itNotS == notsubmitted.end()) { // No match found - job description was submitted.
186
192
// Remove entry from descs_to_submit list, now that it was submitted.
189
196
else { // Match found - job not submitted.
190
197
// Remove entry from notsubmitted list, now that entry was found.