diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-29T12·26+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-29T12·26+0100 |
commit | 5c28943e8fd19d7eb55865d45d6dc61336aa04e9 (patch) | |
tree | 23027f6e306f2563558643cf5d584394d88429d4 /src/nix-instantiate/nix-instantiate.cc | |
parent | 71039becd11f5df4173692508dcb0ad36327c5fa (diff) |
int2String() -> std::to_string()
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index b6845197ec71..13a145a3b53e 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -79,7 +79,7 @@ void processExpr(EvalState & state, const Strings & attrPaths, printGCWarning(); else { Path rootName = gcRoot; - if (++rootNr > 1) rootName += "-" + int2String(rootNr); + if (++rootNr > 1) rootName += "-" + std::to_string(rootNr); drvPath = addPermRoot(*store, drvPath, rootName, indirectRoot); } std::cout << format("%1%%2%\n") % drvPath % (outputName != "out" ? "!" + outputName : ""); |