mirror of
https://github.com/NixOS/hydra.git
synced 2024-10-22 22:59:17 +02:00
Merge pull request #1410 from NixOS/compiler-warnings
hydra-queue-runner: fix compilation warning
This commit is contained in:
commit
c61bdd2c28
|
@ -164,7 +164,7 @@ void State::parseMachines(const std::string & contents)
|
|||
? string2Int<MaxJobs>(tokens[3]).value()
|
||||
: 1,
|
||||
// `speedFactor`
|
||||
atof(tokens[4].c_str()),
|
||||
std::stof(tokens[4].c_str()),
|
||||
// `supportedFeatures`
|
||||
std::move(supportedFeatures),
|
||||
// `mandatoryFeatures`
|
||||
|
|
Loading…
Reference in a new issue