Skip to content

Commit

Permalink
Merge pull request #5961 from BOINC/dpa_sched
Browse files Browse the repository at this point in the history
  • Loading branch information
AenBleidd authored Dec 16, 2024
2 parents 14f7546 + 829960b commit f02a114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sched/sched_score.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
1 change: 1 addition & 0 deletions sched/sched_shmem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f02a114

Please sign in to comment.