mirror of
https://github.com/NixOS/nix.git
synced 2025-12-05 00:21:01 +01:00
Fix C++20 warnings
This commit is contained in:
parent
c5fd34a14e
commit
4563e80363
6 changed files with 18 additions and 14 deletions
|
|
@ -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' "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue