Skip to content

Commit

Permalink
Merge pull request #1410 from NixOS/compiler-warnings
Browse files Browse the repository at this point in the history
hydra-queue-runner: fix compilation warning
  • Loading branch information
Mic92 authored Sep 20, 2024
2 parents b6f44b5 + 2dad87a commit c61bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hydra-queue-runner/hydra-queue-runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit c61bdd2

Please sign in to comment.