diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 15:41:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 15:41:04 +0100 |
commit | 14b0b9ea5a7fd49f9508e211ac3e5552b70cd2fe (patch) | |
tree | 59630e3dfb740457be3d625c3da30e3e4faa2684 /src/libstore/build/worker.cc | |
parent | 0079d2943702a7a7fbdd88c0f9a5ad677c334aa8 (diff) | |
parent | 4563e803633d44ec57dfc4515f0c42c8855c018b (diff) |
Merge pull request #7203 from graham33/feature/cpp20
Proposal: Use C++20
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r-- | src/libstore/build/worker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index b94fb8416..f775f8486 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -276,7 +276,7 @@ void Worker::run(const Goals & _topGoals) if (!children.empty() || !waitingForAWhile.empty()) waitForInput(); else { - if (awake.empty() && 0 == settings.maxBuildJobs) + if (awake.empty() && 0U == settings.maxBuildJobs) { if (getMachines().empty()) throw Error("unable to start any build; either increase '--max-jobs' " |