diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 5ffa7fe62..03b322f83 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -164,7 +164,7 @@ void State::parseMachines(const std::string & contents) ? string2Int(tokens[3]).value() : 1, // `speedFactor` - atof(tokens[4].c_str()), + std::stof(tokens[4].c_str()), // `supportedFeatures` std::move(supportedFeatures), // `mandatoryFeatures`