Merge pull request #5961 from BOINC/dpa_sched

This commit is contained in:
Vitalii Koshura 2024-12-16 22:12:24 +01:00 committed by GitHub
commit f02a114a28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,7 @@ bool JOB::get_score(int array_index) {
return true;
}
bool job_compare(JOB j1, JOB j2) {
bool job_compare(JOB &j1, JOB &j2) {
return (j1.score > j2.score);
}

View File

@ -117,6 +117,7 @@ void get_buda_plan_classes(vector<string> &pcs) {
strip_whitespace(buf);
pcs.push_back(buf);
}
boinc::fclose(f);
}
// scan various DB tables and populate shared-memory arrays