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()
|
? string2Int<MaxJobs>(tokens[3]).value()
|
||||||
: 1,
|
: 1,
|
||||||
// `speedFactor`
|
// `speedFactor`
|
||||||
atof(tokens[4].c_str()),
|
std::stof(tokens[4].c_str()),
|
||||||
// `supportedFeatures`
|
// `supportedFeatures`
|
||||||
std::move(supportedFeatures),
|
std::move(supportedFeatures),
|
||||||
// `mandatoryFeatures`
|
// `mandatoryFeatures`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user