int2String -> std::to_string

[?]
Oct 30, 2015, 5:01 PM
X6FOUYFJ5ODEOMHLL6AHM6KI2JRZ2XOI76NYJYJNDUQBTV5UJLBAC

Dependencies

  • [2] H7SZRHUB Use nix::willBuildLocally()
  • [3] IE2PRAQU hydra-queue-runner: Send build notifications
  • [4] SODOV2CM Automatically reload $NIX_REMOTE_SYSTEMS when it changes
  • [5] K5G5GZY7 Guard against concurrent invocations of hydra-queue-runner
  • [6] O3NM62IZ Support multiple machines files
  • [*] 24BMQDZA Start of single-process hydra-queue-runner

Change contents

  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 97
    [2.57][3.384:449](),[3.384][3.384:449]()
    + " - " + int2String(settings.maxBuildJobs) + " 1");
    [2.57]
    [3.449]
    + " - " + std::to_string(settings.maxBuildJobs) + " 1");
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 436
    [3.1940][3.1940:2021]()
    Strings argv({"hydra-notify", "build", int2String(item.first)});
    [3.1940]
    [3.2021]
    Strings argv({"hydra-notify", "build", std::to_string(item.first)});
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 438
    [3.2065][3.2065:2117]()
    argv.push_back(int2String(id));
    [3.2065]
    [3.2117]
    argv.push_back(std::to_string(id));