mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
int2String() -> std::to_string()
This commit is contained in:
parent
71039becd1
commit
5c28943e8f
9 changed files with 17 additions and 24 deletions
|
@ -243,7 +243,7 @@ static void parse(ParseSink & sink, Source & source, const Path & path)
|
|||
if (i != names.end()) {
|
||||
printMsg(lvlDebug, format("case collision between ‘%1%’ and ‘%2%’") % i->first % name);
|
||||
name += caseHackSuffix;
|
||||
name += int2String(++i->second);
|
||||
name += std::to_string(++i->second);
|
||||
} else
|
||||
names[name] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue